You are here

function authcache_example_menu in Authenticated User Page Caching (Authcache) 6

Same name and namespace in other branches
  1. 7 modules/authcache_example/authcache_example.module \authcache_example_menu()

Implentation of hook_menu()

File

modules/authcache_example/authcache_example.module, line 13
authcache_example.module

Code

function authcache_example_menu() {
  $items['user/%user/authcache_example'] = array(
    'title' => 'Authcache Example',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'authcache_example_block_form',
      1,
    ),
    'access callback' => 'user_edit_access',
    'access arguments' => array(
      1,
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}