From 6deb8a8ac56d68ef411b713653d90597ecd67ad8 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 1 Feb 2022 00:23:20 +0000 Subject: [PATCH] Issue #3258642 by ilgnerfagundes, asishsajeev, Chi: Fix documentation for _toolbar_get_subtrees_hash() (cherry picked from commit 0ff3dada280f172289a45793e50494a4a0730264) --- core/modules/toolbar/toolbar.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module index a1def5da689..963c708c9f9 100644 --- a/core/modules/toolbar/toolbar.module +++ b/core/modules/toolbar/toolbar.module @@ -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();