It would be great if pathauto_node_update_alias() and pathauto_node_update_alias_multiple() would return something so that callers know if the action was successful.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dalin created an issue. See original summary.

dalin’s picture

Status: Needs review » Needs work

The last submitted patch, 2: 2874993-pathauto-return_something-2.patch, failed testing.

dalin’s picture

The use case for this is better reporting of bulk updates, as seen here:
https://www.drupal.org/node/2444939

Ajeet Tiwari’s picture

Status: Needs work » Needs review
FileSize
4.9 KB

re-rolled the patch #2 .

Ajeet Tiwari’s picture

Sorry, wrong patch got uploaded so uploading a new patch.