You are here

function menu_example_permission in Examples for Developers 7

Implements hook_permission().

Provides a demonstration access string.

Related topics

File

menu_example/menu_example.module, line 361
Module file for menu_example.

Code

function menu_example_permission() {
  return array(
    'access protected menu example' => array(
      'title' => t('Access the protected menu example'),
    ),
  );
}