function path_node_delete

path_node_delete($node)

Implements hook_node_delete().

File

modules/path/path.module, line 220
Enables users to rename URLs.

Code

function path_node_delete($node) {
  // Delete all aliases associated with this node.
  path_delete(array('source' => 'node/' . $node->nid));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!path!path.module/function/path_node_delete/7.x