function multifield_table_field_formatter_info in Multifield table 7
Implements hook_field_formatter_info().
File
- ./
multifield_table.module, line 11 - Provides a table formatter and widget for multifield field types.
Code
function multifield_table_field_formatter_info() {
$info = array();
$multifields = multifield_load_all();
if (!empty($multifields)) {
$info['multifield_table'] = array(
'label' => t('Table'),
'field types' => array_merge(array(
'multifield',
), array_keys($multifields)),
'settings' => array(
'view_mode' => 'default',
'header_type' => 'sticky',
),
);
}
return $info;
}