programme accordeons

This commit is contained in:
armansansd
2021-08-18 11:20:51 +02:00
parent 446490ca3f
commit 8416eaf95c
11 changed files with 1327 additions and 652 deletions

View File

@@ -39,11 +39,9 @@ function popsu_preprocess_field(&$variables){
if (isset($element['#field_name'])) {
// kint($element['#field_name']);
$variables['attributes']['class'][] = $element['#field_name'];
// if ($element['#field_name'] == 'field_sous_parties') {
// ['attributes'] = new Attribute();
// kint($variables);
// }
if ($element['#field_name'] == 'field_texte') {
$variables['attributes']['class'][] = 'crop';
}
}
}