function ajax_forms_test_menu in Drupal 7
Implements hook_menu().
File
- modules/
simpletest/ tests/ ajax_forms_test.module, line 11 - Simpletest mock module for Ajax forms testing.
Code
function ajax_forms_test_menu() {
$items = array();
$items['ajax_forms_test_get_form'] = array(
'title' => 'AJAX forms simple form test',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ajax_forms_test_simple_form',
),
'access callback' => TRUE,
);
$items['ajax_forms_test_ajax_commands_form'] = array(
'title' => 'AJAX forms AJAX commands test',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ajax_forms_test_ajax_commands_form',
),
'access callback' => TRUE,
);
$items['ajax_validation_test'] = array(
'title' => 'AJAX Validation Test',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ajax_forms_test_validation_form',
),
'access callback' => TRUE,
);
$items['ajax_forms_test_lazy_load_form'] = array(
'title' => 'AJAX forms lazy load test',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ajax_forms_test_lazy_load_form',
),
'access callback' => TRUE,
);
return $items;
}