| 5 node_access_example.module | node_access_example_help($section) |
Implementation of hook_help().
File
- developer/
examples/ node_access_example.module, line 30 - This is an example illustrating how to restrict access to nodes based on some criterion associated with the user.
Code
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