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.
To allow #881270: [bookpath], [menupath], [*path] tokens not cleaned: aliases without punctuation removed, lower casing, etc. to proceed, we need to roll back #587148: Handle tokens correctly when more than one module defines a given token because token.module should *not* alter the token values itself. Rather we should add token_requirements and check for duplicate token definitions using hook_token_list(). That way, we can actually show which modules are the ones that conflict, rather than showing a watchdog message every time tokens are used.
Comment | File | Size | Author |
---|---|---|---|
#1 | 921988-token-dupe-requirements.patch | 4.84 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
gregglesI did not test, but this works for me in theory.
Comment #3
Dave ReidCommitted to 6.x and 5.x:
http://drupal.org/cvs?commit=427016
http://drupal.org/cvs?commit=427018
Needs to be ported to D7.
Comment #4
Dave ReidCommitted to D7: http://drupal.org/cvs?commit=427314