Closed (fixed)
Project:
Webform Tokens
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2012 at 20:45 UTC
Updated:
28 Mar 2012 at 16:10 UTC
Tokens currently have the rather awkward format [webform:webform-*]. I want to make a backwards-compatible conversion to better token names, like [webform:*].
1. It should be that webform_tokens_tokens() only advertises the new format token names, but both old and new are replaced by webform_tokens_tokens(). This allows current installations to work but encourages the use of the new tokens. My current thinking is to support both formats for D7 and only support the new format in D8.
2. The meta tokens should probably be broken off into their own hierarchical group.
Comments
Comment #1
liam morlandItem 1 fixed in 968b4fb.
Comment #2
wizonesolutionsWhat would be the benefit of #2?
Comment #3
liam morlandIt packages related things together, making more clear the distinction between form components and meta information.
Comment #4
liam morlandOn further reflection, I'm not sure #2 is very important and should be in its own issue anyway.