function editablefields_field_formatter_info in Editable Fields 7
Same name and namespace in other branches
- 5.3 editablefields.module \editablefields_field_formatter_info()
- 5 editablefields.module \editablefields_field_formatter_info()
- 5.2 editablefields.module \editablefields_field_formatter_info()
- 6.3 editablefields.module \editablefields_field_formatter_info()
- 6 editablefields.module \editablefields_field_formatter_info()
- 6.2 editablefields.module \editablefields_field_formatter_info()
Implementation of hook_field_formatter_info().
File
- ./
editablefields.module, line 11 - Editable fields module.
Code
function editablefields_field_formatter_info() {
$all_types = array_keys(field_info_field_types());
return array(
'editable' => array(
'label' => t('Editable'),
'field types' => $all_types,
'settings' => array(
'fallback_format' => NULL,
'fallback_settings' => array(),
'click_to_edit' => FALSE,
'click_to_edit_style' => 'button',
'empty_text' => '',
),
),
);
}