1 node_access_test.module node_access_test_node_predelete(Node $node)

File

core/modules/node/tests/node_access_test/node_access_test.module, line 203
A dummy module implementing node access related hooks for testing purposes.

Code

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