You are here

function quickbar_admin_select_info in Quickbar 7.2

Same name and namespace in other branches
  1. 6 quickbar.module \quickbar_admin_select_info()
  2. 7 quickbar.module \quickbar_admin_select_info()

Implements hook_admin_select_info().

Return value

An associative array of Administration Menu modules provided by this module, keyed by tag name with the following properties:

  • title: The human readable name of the module.
  • access arguments: An array of arguments for user_access().
  • suppress callback: The modules suppress function.
  • file: (optional) The include file where the callback function resides.

File

./quickbar.module, line 491

Code

function quickbar_admin_select_info() {
  $info = array();
  $info['quickbar'] = array(
    'title' => t('Quickbar'),
    'access arguments' => array(
      'access content',
    ),
    'suppress callback' => 'quickbar_suppress',
  );
  return $info;
}