node_access_example_enable

  1. drupal
    1. 5
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

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

<?php
function node_access_example_enable() {
  node_access_rebuild();
}
?>