function claro_theme_suggestions_details_alter

Same name in other branches
  1. 9 core/themes/claro/claro.theme \claro_theme_suggestions_details_alter()
  2. 10 core/themes/claro/claro.theme \claro_theme_suggestions_details_alter()
  3. 11.x core/themes/claro/claro.theme \claro_theme_suggestions_details_alter()

Implements hook_theme_suggestions_HOOK_alter() for details.

File

core/themes/claro/claro.theme, line 35

Code

function claro_theme_suggestions_details_alter(&$suggestions, $variables) {
    if (!empty($variables['element']['#vertical_tab_item'])) {
        $suggestions[] = 'details__vertical_tabs';
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.