You are here

function memcache_test_get in Memcache API and Integration 7

Set a value into the cache.

1 string reference to 'memcache_test_get'
memcache_test_menu in tests/memcache_test.module
Implements hook_menu().

File

tests/memcache_test.module, line 101

Code

function memcache_test_get($key) {
  $GLOBALS['in_test'] = TRUE;
  drupal_json_output(cache_get($key, 'MemcacheDrupal'));
}