You are here

function ajax_test_menu in SimpleTest 7

Implement hook_menu().

File

tests/ajax_test.module, line 11
Helper module for AJAX framework tests.

Code

function ajax_test_menu() {
  $items['ajax-test/render'] = array(
    'title' => 'ajax_render',
    'page callback' => 'ajax_test_render',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['ajax-test/render-error'] = array(
    'title' => 'ajax_render_error',
    'page callback' => 'ajax_test_render_error',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}