Issue #3258642 by ilgnerfagundes, asishsajeev, Chi: Fix documentation for _toolbar_get_subtrees_hash()

merge-requests/1751/head
Alex Pott 2022-02-01 00:23:20 +00:00
parent 421f02acd2
commit 0ff3dada28
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 3 additions and 3 deletions

View File

@ -280,10 +280,10 @@ function toolbar_get_rendered_subtrees() {
}
/**
* Returns the hash of the per-user rendered toolbar subtrees.
* Returns the hash of the user-rendered toolbar subtrees and cacheability.
*
* @return string
* The hash of the admin_menu subtrees.
* @return array
* An array with the hash of the toolbar subtrees and cacheability.
*/
function _toolbar_get_subtrees_hash() {
[$subtrees, $cacheability] = toolbar_get_rendered_subtrees();