function claro_preprocess_toolbar in Drupal 9
Implements hook_preprocess_toolbar().
This is also called by system_preprocess_toolbar() in instances where Claro is the admin theme but not the active theme.
See also
1 call to claro_preprocess_toolbar()
- system_preprocess_toolbar in core/
modules/ system/ system.module - Implements hook_preprocess_toolbar().
File
- core/
themes/ claro/ claro.theme, line 1626 - Functions to support theming in the Claro theme.
Code
function claro_preprocess_toolbar(&$variables, $hook, $info) {
$variables['attributes']['data-drupal-claro-processed-toolbar'] = TRUE;
}