_toolbar_get_subtrees_hash()
Returns the hash of the per-user rendered toolbar subtrees.
Return value
string The hash of the admin_menu subtrees.
File
- core/modules/toolbar/toolbar.module, line 354
- Administration toolbar for quick access to top level administration items.
Code
function _toolbar_get_subtrees_hash() { list($subtrees, $cacheability) = toolbar_get_rendered_subtrees(); $hash = Crypt::hashBase64(serialize($subtrees)); return [$hash, $cacheability]; }
Please login to continue.