function claro_theme_suggestions_details_alter in Drupal 8
Same name and namespace in other branches
- 9 core/themes/claro/claro.theme \claro_theme_suggestions_details_alter()
- 10 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 - Functions to support theming in the Claro theme.
Code
function claro_theme_suggestions_details_alter(&$suggestions, $variables) {
if (!empty($variables['element']['#vertical_tab_item'])) {
$suggestions[] = 'details__vertical_tabs';
}
}