first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions

View File

@@ -0,0 +1,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;
}