| Versions | |
|---|---|
| 7 | hook_path_update($path) |
Allow modules to respond to a path being updated.
$path An associative array containing the following keys:
drupal/
<?php
function hook_path_update($path) {
db_update('mytable')
->fields(array('alias' => $path['alias']))
->condition('pid', $path['pid'])
->execute();
}
?>