Posted by patcon on December 17, 2009 at 4:06pm
1 follower
| Project: | Custom Tokens |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Would it be possible to allow for the creation of multiple tokens from one function -- as in, by returning an array with the token as the key and the token value as the array value? If I understand the module directly, this would allow for users to set variable numbers of token values, in particular when retrieving tokens from a referenced node/user (which may not always have the exact same fields).
This sounds confusing, but for a use case, please see:
#483156-13: Tokens for CCK fields within a node reference
And give a shout-out if this feature would be useful to you too! It might get me digging into it quicker if I get the A-OK that it sounds do-able :)