node_access_example_enable

Versions
5
node_access_example_enable()

Implementation of hook_enable().

A node access module needs to force a rebuild of the node access table when it is enabled to ensure that things are set up.

Code

developer/examples/node_access_example.install, line 35

<?php
function node_access_example_enable() {
  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.