function dynamic_background_panels_menu in Dynamic Background 7
Same name and namespace in other branches
- 6 modules/dynamic_background_panels/dynamic_background_panels.module \dynamic_background_panels_menu()
Implementation of hook_menu(). Hooks into the dynamic background modules menu structure and adds the "nodes" menu tab to the administration interface.
Return value
array menu items
File
- modules/
dynamic_background_panels/ dynamic_background_panels.module, line 26
Code
function dynamic_background_panels_menu() {
$items = array();
$items['admin/config/user-interface/backgrounds/panels'] = array(
'title' => 'Panels',
'description' => 'Configure dynamic background penels',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'dynamic_background_panels_admin_form',
),
'access arguments' => array(
'configure panels dynamic background',
),
'type' => MENU_LOCAL_TASK,
'weight' => -10,
);
return $items;
}