1 common_test.module common_test_menu()

Implements hook_menu().

File

core/modules/simpletest/tests/common_test.module, line 10
Helper module for the Common tests.

Code

function common_test_menu() {
  $items['common-test/backdrop_goto'] = array(
    'title' => 'Backdrop Goto',
    'page callback' => 'common_test_backdrop_goto_land',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/backdrop_goto/fail'] = array(
    'title' => 'Backdrop Goto',
    'page callback' => 'common_test_backdrop_goto_land_fail',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/backdrop_goto/redirect'] = array(
    'title' => 'Backdrop Goto',
    'page callback' => 'common_test_backdrop_goto_redirect',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/backdrop_goto/redirect_advanced'] = array(
    'title' => 'Backdrop Goto',
    'page callback' => 'common_test_backdrop_goto_redirect_advanced',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/backdrop_goto/redirect_fail'] = array(
    'title' => 'Backdrop Goto Failure',
    'page callback' => 'backdrop_goto',
    'page arguments' => array('common-test/backdrop_goto/fail'),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/destination'] = array(
    'title' => 'Backdrop Get Destination',
    'page callback' => 'common_test_destination',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/query-string'] = array(
    'title' => 'Test querystring',
    'page callback' => 'common_test_js_and_css_querystring',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/backdrop-render-invalid-keys'] = array(
    'title' => 'Backdrop Render',
    'page callback' => 'common_test_backdrop_render_invalid_keys',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['common-test/css-render-inline-full-page'] = array(
    'title' => 'Test rendering inline stylesheets through a full page request.',
    'page callback' => 'common_test_render_inline_full_page',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}