You are here

function authcache_ajax_test_menu in Authenticated User Page Caching (Authcache) 7.2

Implements hook_menu().

File

modules/authcache_ajax/tests/authcache_ajax_test.module, line 10
Stub module for Authcache Ajax tests.

Code

function authcache_ajax_test_menu() {
  $item['authcache-ajax-test-page'] = array(
    'title' => 'Test ajax',
    'page callback' => 'authcache_ajax_test_page',
    'access callback' => TRUE,
  );
  $item['authcache-ajax-test-set-has-js'] = array(
    'title' => 'Set JS cookie',
    'page callback' => 'authcache_ajax_test_set_has_js',
    'page arguments' => array(
      1,
    ),
    'access callback' => TRUE,
  );
  return $item;
}