function dynamic_background_views_menu in Dynamic Background 6
Same name and namespace in other branches
- 7 modules/dynamic_background_views/dynamic_background_views.module \dynamic_background_views_menu()
Implementation of hook_menu(). Hooks into the profile with a "My background" tab, where users can select one of the backgrounds.
Return value
array menu items
File
- modules/
dynamic_background_views/ dynamic_background_views.module, line 24 - This module implements the views extension for dynamic background.
Code
function dynamic_background_views_menu() {
$items = array();
$items['admin/build/backgrounds/views'] = array(
'title' => 'Views',
'description' => t('Configure views dynamic background'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'dynamic_background_views_admin_form',
),
'access arguments' => array(
'dynamic background views configure',
),
'type' => MENU_LOCAL_TASK,
'weight' => -10,
);
return $items;
}