function menu_attributes_menu in Menu Attributes 6
Same name and namespace in other branches
- 6.2 menu_attributes.module \menu_attributes_menu()
Implements hook_menu().
File
- ./
menu_attributes.module, line 12 - Alters the menu item form to allow the administrator to specify additional attributes for the menu link
Code
function menu_attributes_menu() {
// Create a visible redirect to the proper settings page.
$items['admin/settings/menu_attributes'] = array(
'title' => 'Menu attributes',
'description' => 'Configure the Menu Attributes module',
'page callback' => 'drupal_goto',
'page arguments' => array(
'admin/build/menu/settings',
),
'access arguments' => array(
'administer menu',
),
);
return $items;
}