function power_menu_menu in Power Menu 7
Same name and namespace in other branches
- 6 power_menu.module \power_menu_menu()
- 7.2 power_menu.module \power_menu_menu()
Implements hook_menu().
4 string references to 'power_menu_menu'
- power_menu_admin_form in ./
power_menu.admin.inc - Callback function for the admin form
- power_menu_get_menu in ./
power_menu.module - Get the menu which is defined as the power menu
- power_menu_get_pm_menus in ./
power_menu.module - Return all menus that are used for power menu
- power_menu_uninstall in ./
power_menu.install - Implements hook_uninstall().
File
- ./
power_menu.module, line 13 - This module provides some additional menu features. The features are not actually new, but are part of other modules. it's though very cumbersome to creating a new menu item, because one has to go to all the different places to configure these…
Code
function power_menu_menu() {
$items['admin/config/search/power_menu'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'power_menu_admin_form',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'power_menu.admin.inc',
'title' => 'Power Menu settings',
'description' => 'Configure the Power Menu.',
);
return $items;
}