path_node_delete

Versions
7
path_node_delete($node)

Implements hook_node_delete().

Code

modules/path/path.module, line 222

<?php
function path_node_delete($node) {
  // Delete all aliases associated with this node.
  path_delete(array('source' => 'node/' . $node->nid));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.