function node_access_test_node_delete

Implements hook_node_delete().

File

modules/node/tests/node_access_test.module, line 202

Code

function node_access_test_node_delete($node) {
    db_delete('node_access_test')->condition('nid', $node->nid)
        ->execute();
}

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