function claro_preprocess_views_ui_display_tab_bucket
Same name in other branches
- 9 core/themes/claro/claro.theme \claro_preprocess_views_ui_display_tab_bucket()
- 8.9.x core/themes/claro/claro.theme \claro_preprocess_views_ui_display_tab_bucket()
- 10 core/themes/claro/claro.theme \claro_preprocess_views_ui_display_tab_bucket()
Implements hook_preprocess_HOOK() for views_ui_display_tab_bucket.
File
-
core/
themes/ claro/ claro.theme, line 1248
Code
function claro_preprocess_views_ui_display_tab_bucket(&$variables) {
// Instead of re-styling Views UI dropbuttons with module-specific CSS styles,
// change dropbutton variants to the extra small version.
// @todo Revisit after https://www.drupal.org/node/3057581 is added.
if (!empty($variables['actions']) && $variables['actions']['#type'] === 'dropbutton') {
$variables['actions']['#dropbutton_type'] = 'extrasmall';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.