You are here

function memcache_test_menu in Memcache API and Integration 6

Same name and namespace in other branches
  1. 7 tests/memcache_test.module \memcache_test_menu()

Implements hook_menu().

File

tests/memcache_test.module, line 6

Code

function memcache_test_menu() {
  $items['memcache-test/lock-acquire'] = array(
    'title' => 'Lock acquire',
    'page callback' => 'memcache_test_lock_acquire',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['memcache-test/lock-exit'] = array(
    'title' => 'Lock acquire then exit',
    'page callback' => 'memcache_test_lock_exit',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}