function panels_everywhere_menu in Panels Everywhere 6
Same name and namespace in other branches
- 7 panels_everywhere.module \panels_everywhere_menu()
Implementation of hook_menu().
File
- ./
panels_everywhere.module, line 12 - panels_everywhere.module
Code
function panels_everywhere_menu() {
$items = array();
$items['admin/build/panels/settings/everywhere'] = array(
'title' => 'Everywhere',
'file' => 'panels_everywhere.admin.inc',
'page callback' => 'drupal_get_form',
'access arguments' => array(
'administer page manager',
),
'page arguments' => array(
'panels_everywhere_settings_page',
),
'type' => MENU_LOCAL_TASK,
);
if (variable_get('panels_everywhere_site_template_enabled', FALSE)) {
$items['admin/build/pages/site_template'] = array(
'title' => 'Edit site template',
'page callback' => 'panels_everywhere_edit_site_template',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'use page manager',
),
);
}
return $items;
}