function admin_menu_cache_set in Administration menu 5.3
Same name and namespace in other branches
- 8.3 admin_menu.module \admin_menu_cache_set()
- 6.3 admin_menu.module \admin_menu_cache_set()
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 ./
admin_menu.module - Build the administration menu output.
File
- ./
admin_menu.module, line 222 - 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, 'cache_admin_menu', $data);
}
}