1.12.x admin_bar.module admin_bar_permission()
1.10.x admin_bar.module admin_bar_permission()
1.11.x admin_bar.module admin_bar_permission()
1.7.x admin_bar.module admin_bar_permission()

Implements hook_permission().

File

modules/admin_bar/admin_bar.module, line 40
Render an administrative bar as a dropdown menu at the top of the window.

Code

function admin_bar_permission() {
  return array(
    'access administration bar' => array(
      'title' => t('Access administration bar'),
      'description' => t('Display the administration bar at the top of each page.'),
    ),
    'flush caches' => array(
      'title' => t('Flush caches'),
      'description' => t('Access links to flush caches in the administration bar.'),
    ),
  );
}