[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/ctools/includes/ -> page-wizard.menu.inc (source)

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


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7