function override_css_menu in Override css 7
Implements hook_menu().
File
- ./
override_css.module, line 7
Code
function override_css_menu() {
$items = array();
$items['admin/appearance/override_css/css'] = array(
'title' => 'CSS',
'page callback' => 'override_css_preview_css',
'access arguments' => array(
'override css admin',
),
'type' => MENU_LOCAL_TASK,
'file' => 'override_css.admin.inc',
'weight' => 1,
);
$items['admin/appearance/override_css/admin'] = array(
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'override_css_admin_form',
),
'access arguments' => array(
'override css admin',
),
'type' => MENU_LOCAL_TASK,
'file' => 'override_css.admin.inc',
'weight' => 2,
);
$items['admin/appearance/override_css/list/%override_css_selector/values'] = array(
'title' => 'Values',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'override_css_selector_value',
4,
),
'access arguments' => array(
'override css settings',
),
'type' => MENU_LOCAL_TASK,
'file' => 'override_css.admin.inc',
'weight' => -10,
);
$items['admin/appearance/override_css/list/%override_css_selector/reset'] = array(
'title' => 'Reset',
'page callback' => 'override_css_reset_selector_page',
'page arguments' => array(
4,
),
'access arguments' => array(
'override css settings',
),
'type' => MENU_LOCAL_TASK,
'file' => 'override_css.admin.inc',
'weight' => -9,
);
return $items;
}