summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/toolbar/toolbar.module
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/toolbar/toolbar.module')
-rw-r--r--core/modules/toolbar/toolbar.module11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module
index 51986310901..4bfcd89e187 100644
--- a/core/modules/toolbar/toolbar.module
+++ b/core/modules/toolbar/toolbar.module
@@ -118,17 +118,6 @@ function toolbar_menu_navigation_links(array $tree) {
}
/**
- * Implements hook_preprocess_HOOK() for HTML document templates.
- */
-function toolbar_preprocess_html(&$variables): void {
- if (!\Drupal::currentUser()->hasPermission('access toolbar')) {
- return;
- }
-
- $variables['attributes']['class'][] = 'toolbar-loading';
-}
-
-/**
* Returns the rendered subtree of each top-level toolbar link.
*
* @return array