css divers

This commit is contained in:
2023-07-11 10:45:20 +02:00
parent f9891bbc61
commit 0d3987c3fd
5 changed files with 23 additions and 17 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ function eql_preprocess_field(&$variables) {
if ($field_name == 'field_type_de_protagoniste'){
$type_protagoniste = $node->get('field_type_de_protagoniste')->getString();
$variables['attributes']['class'][] = 'type-de-protagoniste-' . $type_protagoniste;
}
}
// if ($field_name == 'field--name-title'){
// $name_title = $node->get('field--name-title')->getString();
// $variables['attributes']['class'][] = 'name_title-' . $name_title;
// }
}
}