node_access_example_disable

  1. drupal
    1. 5
Versions
5 node_access_example_disable()

Implementation of hook_disable().

A node access module needs to force a rebuild of the node access table when it is disabled to ensure that its entries are removed from the table.

Code

documentation/developer/examples/node_access_example.install, line 45

<?php
function node_access_example_disable() {
  node_access_example_disabling(TRUE);
  node_access_rebuild();
}
?>