You are here

function memcache_test_get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/memcache/tests/memcache_test.module \memcache_test_get()

Set a value into the cache.

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

File

modules/memcache/tests/memcache_test.module, line 101

Code

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