view actus
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user