blob: 7ed932ed19ee8b0cc385f795f57c3b6788c30999 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
/**
* @file
* Contains menu item registration for the page manager page wizards tool.
*/
function ctools_page_wizard_menu(&$items) {
if (!module_exists('page_manager')) {
return;
}
$base = array(
'access arguments' => array('use page manager'),
'file' => 'includes/page-wizard.inc',
'type' => MENU_CALLBACK,
);
$items['admin/structure/pages/wizard'] = array(
'title' => 'Wizards',
'page callback' => 'page_manager_page_wizard_list',
'page arguments' => array(4),
'weight' => -5,
'type' => MENU_LOCAL_TASK,
) + $base;
$items['admin/structure/pages/wizard/%'] = array(
'title' => 'Wizard',
'page callback' => 'page_manager_page_wizard',
'page arguments' => array(4),
) + $base;
}
|