caption on home

This commit is contained in:
2024-06-28 11:54:19 +02:00
parent c2f11b9856
commit c9fd107421
+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);
}
}
}