function ief_table_view_mode_entity_info_alter in Inline Entity Form Table View Mode 7
Implements hook_entity_info_alter().
File
- ./
ief_table_view_mode.module, line 101 - Defines a view mode to set up the columns of the table for the IEF widget.
Code
function ief_table_view_mode_entity_info_alter(&$info) {
foreach ($info as $entity_type => $data) {
$info[$entity_type]['view modes'][IEF_TABLE_VIEW_MODE_NAME] = array(
'label' => t('Inline Entity Form Table'),
'custom settings' => FALSE,
);
}
}