function high_contrast_menu in High contrast 6
Same name and namespace in other branches
- 7 high_contrast.module \high_contrast_menu()
Implementation of hook_menu()
File
- ./
high_contrast.module, line 22
Code
function high_contrast_menu() {
$items['admin/settings/high-contrast'] = array(
'title' => 'High Contrast',
'description' => 'Settings related to High Contrast',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'high_contrast_settings_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer site configuration',
),
);
$items['high_contrast_enable'] = array(
'title' => 'Activate high contrast styles',
'description' => '',
'page callback' => 'high_contrast_enable_callback',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['high_contrast_disable'] = array(
'title' => 'Disable high contrast styles',
'description' => '',
'page callback' => 'high_contrast_disable_callback',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}