Révision 01f36513
Ajouté par Assos Assos il y a environ 6 ans
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. |
Formats disponibles : Unified diff
Weekly update of contrib modules