function path_node_delete

Implements hook_node_delete().

File

modules/path/path.module, line 220

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.