node_access_example_help

  1. drupal
    1. 4.7
    2. 5
Versions
4.7 – 5 node_access_example_help($section)

Implementation of hook_help().

Code

developer/examples/node_access_example.module, line 30

<?php
function node_access_example_help($section) {
  switch ($section) {
    case 'admin/modules#description':
      return t('An example illustrating how to restrict access to nodes based on some criterion associated with the user.');
  }
}
?>