You are here

function webmaster_menu_menu in Webmaster menu 7

Implements hook_menu().

4 string references to 'webmaster_menu_menu'
webmaster_menu_config_form in ./webmaster_menu.config_page.inc
Configuration form for Webmaster menu.
webmaster_menu_config_form_submit in ./webmaster_menu.config_page.inc
Submit handler for the Webmaster configuration form.
webmaster_menu_output in ./webmaster_menu.module
Create the webmaster menu.
webmaster_menu_uninstall in ./webmaster_menu.install
Implements hook_uninstall().

File

./webmaster_menu.module, line 11
Display a dropdown menu at the top of the window.

Code

function webmaster_menu_menu() {

  // Config page.
  $items['admin/config/webmaster_menu'] = array(
    'title' => 'Webmaster menu configuration',
    'description' => 'Configure Webmaster menu',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'webmaster_menu_config_form',
    ),
    'access arguments' => array(
      'administer webmaster menu',
    ),
    'file' => 'webmaster_menu.config_page.inc',
  );
  return $items;
}