function dynamic_background_panels_menu in Dynamic Background 6
Same name and namespace in other branches
- 7 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 24 
Code
function dynamic_background_panels_menu() {
  $items = array();
  $items['admin/build/backgrounds/panels'] = array(
    'title' => 'Panels',
    'description' => t('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;
}