Project

General

Profile

Revision 01f36513

Added by Assos Assos about 6 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/themes/bootstrap/templates/bootstrap/bootstrap-panel.vars.php
18 18
 * @ingroup theme_preprocess
19 19
 */
20 20
function bootstrap_preprocess_bootstrap_panel(array &$variables) {
21
  // Temporarily provide field_group "support" until properly "fixed" upstream.
22
  // @see https://www.drupal.org/project/bootstrap/issues/2910624
23
  if (!empty($variables['element']['#group']->format_type) && $variables['element']['#group']->format_type == 'htab') {
24
    $variables['element']['#collapsed'] = FALSE;
25
  }
26

  
21 27
  $element = &$variables['element'];
22 28

  
23 29
  // Set the element's attributes.

Also available in: Unified diff