You are here

function claro_theme_suggestions_details_alter in Drupal 9

Same name and namespace in other branches
  1. 8 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 36
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';
  }
}