You are here

function pathauto_node_update in Pathauto 7

Implements hook_node_update().

3 calls to pathauto_node_update()
PathautoLocaleTestCase::testLanguageAliases in ./pathauto.test
Test that when an English node is updated, its old English alias is updated and its newer French alias is left intact.
PathautoUnitTestCase::testNoTokensNoAlias in ./pathauto.test
Test that pathauto_create_alias() will not create an alias for a pattern that does not get any tokens replaced.
PathautoUnitTestCase::testUpdateActions in ./pathauto.test
Test the different update actions in pathauto_create_alias().

File

./pathauto.module, line 698
Main file for the Pathauto module, which automatically generates aliases for content.

Code

function pathauto_node_update($node) {
  pathauto_node_update_alias($node, 'update');
}