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

(cherry picked from commit 0ff3dada28)
merge-requests/1413/merge
Alex Pott 2022-02-01 00:23:20 +00:00
parent 8b6b947bbd
commit 6deb8a8ac5
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 * @return array
* The hash of the admin_menu subtrees. * An array with the hash of the toolbar subtrees and cacheability.
*/ */
function _toolbar_get_subtrees_hash() { function _toolbar_get_subtrees_hash() {
[$subtrees, $cacheability] = toolbar_get_rendered_subtrees(); [$subtrees, $cacheability] = toolbar_get_rendered_subtrees();