function resp_img_entity_info_alter in Responsive images and styles 7
Same name and namespace in other branches
- 7.2 resp_img.module \resp_img_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
resp_img.module, line 426
Code
function resp_img_entity_info_alter(&$entity_info) {
// Support the media module
$entity_info['file']['view modes']['media_responsive'] = array(
'label' => t('Responsive'),
'custom settings' => TRUE,
);
}