function claro_preprocess_toolbar
Same name in other branches
- 10 core/themes/claro/claro.theme \claro_preprocess_toolbar()
- 11.x core/themes/claro/claro.theme \claro_preprocess_toolbar()
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 1648
Code
function claro_preprocess_toolbar(&$variables, $hook, $info) {
$variables['attributes']['data-drupal-claro-processed-toolbar'] = TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.