function multifield_table_field_widget_info in Multifield table 7
Implements hook_field_widget_info().
File
- ./
multifield_table.module, line 238 - Provides a table formatter and widget for multifield field types.
Code
function multifield_table_field_widget_info() {
$multifields = multifield_load_all();
if ($multifields) {
return array(
'multifield_table' => array(
'label' => t('Table'),
'field types' => array_merge(array(
'multifield',
), array_keys($multifields)),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
'default value' => FIELD_BEHAVIOR_DEFAULT,
),
),
);
}
}