function list_field_formatter_info in Drupal 7
Implements hook_field_formatter_info().
File
- modules/
field/ modules/ list/ list.module, line 444 - Defines list field types that can be used with the Options module.
Code
function list_field_formatter_info() {
return array(
'list_default' => array(
'label' => t('Default'),
'field types' => array(
'list_integer',
'list_float',
'list_text',
'list_boolean',
),
),
'list_key' => array(
'label' => t('Key'),
'field types' => array(
'list_integer',
'list_float',
'list_text',
'list_boolean',
),
),
);
}