You are here

function menu_per_role_permission in Menu Per Role 7

Implements hook_permission().

File

./menu_per_role.module, line 27
Allows restricting access to menu items per role.

Code

function menu_per_role_permission() {
  $permissions = array();
  $permissions['administer menu_per_role'] = array(
    'title' => t('Administer Menu Per Role'),
    'description' => t('Permission for who can access the Menu Per Role forms.'),
  );
  return $permissions;
}