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.
The token_token_info code (and book_token_info / menu_ui_token_info) blindly adds tokens for nodes even if the module is disabled.
Patch attached to check if the node module is enabled for doing so.
Doesn't really affect anything but removes the notice in the status report for tokens being defined without a type.
Comment | File | Size | Author |
---|---|---|---|
#3 | node-tokens-always-added-3059846-2.patch | 4.17 KB | mjpa |
| |||
token.node_.patch | 4.66 KB | mjpa | |
|
Comments
Comment #2
Berdirbook module depends on node, so I think that part isn't necessary.
Comment #3
mjpa CreditAttribution: mjpa commentedTrue, updated patch that does just the node/content-type tokens and the menu_ui node one.
Comment #4
BerdirCommitted.