function bg_image_menu in Background Images 7
Same name and namespace in other branches
- 6 bg_image.module \bg_image_menu()
Implements hook_menu().
File
- ./
bg_image.module, line 15 - Allows for customizable background images per page
Code
function bg_image_menu() {
$items['admin/config/content/background-image'] = array(
'title' => 'Background Image',
'description' => t('Settings for how to apply the background image to the page'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'bg_image_settings_form',
),
'access arguments' => array(
'administer background image',
),
'file' => NULL,
);
return $items;
}