function ajax_forms_test_menu

Implements hook_menu().

File

modules/simpletest/tests/ajax_forms_test.module, line 11

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.