Closed (fixed)
Project:
Token
Version:
7.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Sep 2011 at 14:31 UTC
Updated:
29 Dec 2015 at 22:09 UTC
Jump to comment: Most recent
Comments
Comment #1
dave reidIt depends on the module that is calling the token replacement to use $options['clear'] = TRUE. What module are you using to output the tokens?
Comment #2
Anonymous (not verified) commentedOh thanks! It is my very own module. Thanks for the support (btw, where is that documented?)
Comment #3
dave reidAh glad to hear it. This is documented in the core function token_replace(): "clear: A boolean flag indicating that tokens should be removed from the final text if no replacement value can be generated". Glad to have solved it for you!