Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you're creating a field, and don't have the token module installed, then tokens are enabled by default on the field and can't be turned off.
I should probably make them go to enable_tokens 0 by default in that situation.
Comments
Comment #1
omarlopesinoThe settings used for tokens only appears if the module exists. So, the actions made by this options are only used when the module exists.
Comment #2
maximpodorov CreditAttribution: maximpodorov commentedNo, module existence is checked when the field options form is shown only, and 'enable_tokens' option is on by default.
This default value of this option is the great evil since 'on' value silently makes title to be treated as HTML which means you can't enter "<" character in title field (filter_xss() will remove it and the following characters).