function webform_ajax_menu in Webform Ajax 6
Same name and namespace in other branches
- 7.2 webform_ajax.module \webform_ajax_menu()
- 7 webform_ajax.module \webform_ajax_menu()
Implementation of hook_menu().
File
- ./
webform_ajax.module, line 10 - Makes webform pages load by AJAX instead of causing a full page refresh.
Code
function webform_ajax_menu() {
$items['webform_ajax/%/%'] = array(
'title' => t('Ajax Handling of Webforms'),
'type' => MENU_CALLBACK,
'access callback' => '_webform_ajax_perm',
'access arguments' => array(
1,
),
'page callback' => '_webform_ajax_page',
'page arguments' => array(
1,
2,
),
);
return $items;
}