This commit is contained in:
2024-06-28 12:16:12 +02:00
2 changed files with 7 additions and 4 deletions
+5
View File
@@ -136,4 +136,9 @@ function reha_preprocess_field(&$variables){
}
}
}
if($variables['field_name'] === 'field_image'){
if($variables['element']['#view_mode'] === 'home_block'){
array_splice($variables['items'], 1);
}
}
}