function entityreference_view_widget_entity_info_alter in Entity Reference View Widget 7
Implements hook_entity_info_alter().
File
- ./
entityreference_view_widget.module, line 6
Code
function entityreference_view_widget_entity_info_alter(&$info) {
foreach ($info as $entity_type => $data) {
$info[$entity_type]['view modes']['entityreference_view_widget'] = array(
'label' => t('Entity Reference View Widget'),
'custom settings' => TRUE,
);
}
}