The kinda duplication of [node:field_field_name] and [node:field-field-name] caused me some puzzling...
Which one is used for what case? What are the differences betwwen the underscore version to the dash version?
A somewhat rellevant issue I have find is #967136: Content type tokens but it did not answer my question.
Thanks!
Comments
Comment #1
zach harkey commentedYes, this is confusing the hell out of me too. Can anyone shed some light on the difference between the underscored vs hyphenated tokens? Which version should we use?
Comment #2
bojanz commentedThis should explain it #1272560: Entity tokens duplicates field tokens created by token module.
Comment #3
zach harkey commented#1272560: Entity tokens duplicates field tokens created by token module Partially documents some of the confusion, but I still don't understand which tokens we should use for the best chance at long term support.
Comment #4
bojanz commentedNobody does at this point.
Comment #5
amir simantov commented"Nobody does at this point." LOL
Comment #7
matt.rad commentedFor what it is worth, tokens with underscores, not the duplicates with hyphens, seem to work in Rules & messaging. Hyphentated tokens don't.