view actus

This commit is contained in:
2024-06-20 12:41:34 +02:00
parent d33f29aea3
commit b1ff433222
12 changed files with 407 additions and 66 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ function reha_preprocess_html(&$variables) {
$node = &$variables['node'];
$variables['attributes']['class'][] = 'node-type-' . $node->gettype();
if ($node->getType() == 'site' || $node->getType() == 'ressource') {
if ($node->getType() == 'site' || $node->getType() == 'ressource' || $node->getType() == 'actualite') {
$fields_to_exclude = [
'field_image', // Remplacez par le nom machine exact de votre champ image
];