You are here

function authcache_p13n_test_menu in Authenticated User Page Caching (Authcache) 7.2

Implements hook_menu().

File

modules/authcache_p13n/tests/authcache_p13n_test.module, line 10
Stub module for authcache personalization tests.

Code

function authcache_p13n_test_menu() {
  $item['authcache-p13n-test-session'] = array(
    'title' => 'Set Session',
    'page callback' => 'authcache_p13n_test_set_session_data',
    'access callback' => TRUE,
  );
  $item['authcache-p13n-test-form'] = array(
    'title' => 'Test form',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'authcache_p13n_test_form',
    ),
    'access callback' => TRUE,
  );
  return $item;
}