1.20.x admin_bar.module | admin_bar_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 bar content.
Parameters
$cid: The cache ID of the data to retrieve.
File
- modules/
admin_bar/ admin_bar.module, line 316 - Render an administrative bar as a dropdown menu at the top of the window.
Code
function admin_bar_cache_set($cid, $data) {
cache('admin_bar')->set($cid, $data);
}