function admin_menu_cache_set

nittany7 admin_menu.module admin_menu_cache_set($cid, $data)
cis7 admin_menu.module admin_menu_cache_set($cid, $data)
mooc7 admin_menu.module admin_menu_cache_set($cid, $data)

Store a client-side cache hash in persistent cache.

This should only be used for client-side cache hashes. Use cache_menu for administration menu content.

Parameters

$cid: The cache ID of the data to retrieve.

1 call to admin_menu_cache_set()
admin_menu_output in modules/contrib/admin_menu/admin_menu.module
Build the administration menu output.

File

modules/contrib/admin_menu/admin_menu.module, line 321
Render an administrative menu as a dropdown menu at the top of the window.

Code

function admin_menu_cache_set($cid, $data) {
  if (variable_get('admin_menu_cache_client', TRUE)) {
    cache_set($cid, $data, 'cache_admin_menu');
  }
}