node_access_example_disable

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

developer/examples/node_access_example.install, line 45

<?php
function node_access_example_disable() {
  node_access_example_disabling(TRUE);
  node_access_rebuild();
}
?>
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.