test ecclesia autocomplete

This commit is contained in:
Nathan Coad
2019-09-17 13:43:49 +10:00
parent 58d786bd32
commit ac8e1d1657
2 changed files with 53 additions and 8 deletions

View File

@@ -321,6 +321,14 @@ function booking_menu() {
'type' => MENU_NORMAL_ITEM,
);
//callback for autocomplete lookup of ecclesia name
$items['booking/ecclesia/autocomplete'] = array(
'title' => 'Autocomplete for ecclesia lookup on registration page',
'page callback' => '_booking_ecclesia_name_autocomplete',
'access arguments' => array('access booking form'),
'type' => MENU_CALLBACK
);
$items['waitinglist'] = array(
'title' => "Who's on the waiting list?",
'page callback' => 'booking_waitinglist_page',