template_preprocess_toolbar
function template_preprocess_toolbar
template_preprocess_toolbar(&$variables)
Prepares variables for administration toolbar templates.
Default template: toolbar.html.twig.
Parameters
array $variables: An associative array containing:
- element: An associative array containing the properties and children of the tray. Properties used: #children, #attributes and #bar.
File
- core/modules/toolbar/toolbar.module, line 76
- Administration toolbar for quick access to top level administration items.
Code
function templat