You are here

function path_node_delete in Drupal 7

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,
  ));
}