You are here

function authcache_widget_test_menu in Authenticated User Page Caching (Authcache) 7.2

Implements hook_menu().

File

tests/authcache_widget_test.module, line 12
Provides a stub module for testing the authcache form elements.

Code

function authcache_widget_test_menu() {
  $item['authcache-widget-test-form'] = array(
    'title' => 'Test form',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'authcache_widget_test_form',
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $item;
}