function admin_menu_permission

nittany7 admin_menu.module admin_menu_permission()
cis7 admin_menu.module admin_menu_permission()
mooc7 admin_menu.module admin_menu_permission()

Implements hook_permission().

File

modules/contrib/admin_menu/admin_menu.module, line 28
Render an administrative menu as a dropdown menu at the top of the window.

Code

function admin_menu_permission() {
  return array(
    'access administration menu' => array(
      'title' => t('Access administration menu'),
      'description' => t('Display the administration menu at the top of each page.'),
    ),
    'flush caches' => array(
      'title' => t('Flush caches'),
      'description' => t('Access links to flush caches in the administration menu.'),
    ),
    'display drupal links' => array(
      'title' => t('Display Drupal links'),
      'description' => t('Provide Drupal.org links in the administration menu.'),
    ),
  );
}