You are here

function persistent_menu_items_permission in Persistent Menu Items 7

Instance of hook _permission().

Return value

array

File

./persistent_menu_items.module, line 40
Allows menu links to be visible irrespective of content restriction.

Code

function persistent_menu_items_permission() {
  return array(
    'administer persistent menu items' => array(
      'title' => t('Administer persistent menu items'),
      'description' => t('Control whether selected menu items are always visible regardless of access restrictions on the content of the page in question.'),
      'restrict access' => TRUE,
    ),
  );
}