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 we want to do tokens like [term:parent:path]/[term:name] it's currently not possible as core only provides [term:url] which when used with language prefixes or other conditions, results in output like /en/parent-term/child-term, when run through pathauto would end up double language-prefixed. So, we just need to provide [entity:path] tokens which will be easy to do with our entity/token mappings.
Comment | File | Size | Author |
---|---|---|---|
#1 | 829744-token-entity-path-D7.patch | 7.07 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Dave ReidCommitted to CVS.
http://drupal.org/cvs?commit=381068
Comment #3
Dave ReidAlso removed the [term:path] token from pathauto since it's covered here.