Created
October 23, 2013 16:50
-
-
Save allgood2386/7122245 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sponsor_school_page_menu() { | |
$items['add/teacher/%'] = array( | |
'title' => t('Add a Teacher'), | |
'page callback' => 'drupal_get_form', | |
'page arguments' => array('sponsor_school_page_add_teacher_form', array(1)), | |
'access callback' => TRUE, | |
); | |
$items['add/point-of-contact/%'] = array( | |
'title' => t('Add a Point of Contact'), | |
'page callback' => 'sponsor_school_page_add_poc_form', | |
'page arguments' => array(1), | |
'access callback' => TRUE, | |
); | |
return $items; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function sponsor_school_page_menu() {
$items['add/teacher/%'] = array(
'title' => t('Add a Teacher'),
'page callback' => 'drupal_get_form',
'page arguments' => array('sponsor_school_page_add_teacher_form', arg(2)),
'access callback' => TRUE,
);