caption on home
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user