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.
pathauto_node_update_alias()
, using $op = "return"
may provide a useful wrapper to pathauto_create_alias()
.
It lets you know what would be the alias to be generated simply using a couple of arguments.
But for this to work, it should itself return the call to pathauto_create_alias()
.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1781302-pathauto-return-node-alias.patch | 545 bytes | drzraf |
Comments
Comment #1
drzraf CreditAttribution: drzraf commentedComment #2
drzraf CreditAttribution: drzraf commentedping ?
Comment #3
Dave ReidI also applied the same to pathauto_taxonomy_term_update_alias() and pathauto_user_update_alias() and committed to 7.x-1.x. Thanks!
http://drupalcode.org/project/pathauto.git/commit/3a3b29a