function menu_example_perm in Examples for Developers 6
Implements hook_perm() to provide a demonstration access string.
Related topics
File
- menu_example/
menu_example.module, line 325 - Demonstrates uses of the Menu APIs in Drupal, including hook_menu(), hook_menu_alter(), and hook_menu_link_alter().
Code
function menu_example_perm() {
return array(
'access protected menu example',
);
}