node_access_example_help

Versions
4.6 – 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.');
  }
}
?>
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.