You are here

function memcache_test_set in Zircon Profile 8

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

Set a value into the cache.

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

File

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

Code

function memcache_test_set($key, $value) {
  $cache = cache_set($key, $value, 'memcache');
  drupal_json_output(cache_get($key, 'memcache'));
}