Posted By

trevortwining on 11/11/10


Tagged


Versions (?)

Drupal hook menu example


 / Published in: PHP
 

  1. $items['xml/pledges.xml'] = array(
  2. 'type' => 'MENU_CALLBACK',
  3. 'title' => 'pledges',
  4. 'description' => 'The description of the menu item. It is used as title attribute and on the administration overview page.',
  5. 'page callback' => 'drupal_get_form',
  6. 'page arguments' => array('go_markmap_get_pledges'),
  7. 'access callback' => TRUE,
  8. );

Report this snippet  

You need to login to post a comment.