function resp_img_entity_view_alter in Responsive images and styles 7.2
Same name and namespace in other branches
- 7 resp_img.module \resp_img_entity_view_alter()
File
- ./
resp_img.module, line 652
Code
function resp_img_entity_view_alter(&$build, $type) {
foreach (element_children($build) as $child) {
if (isset($build[$child]['#field_name'])) {
$build[$child]['#post_render'][] = 'resp_img_post_render';
}
}
}