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 commentedComment #2
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
Comment #6
mably commented