You are here

function formatter_field_field_info in Formatter Field 7

Implements hook_field_info().

File

./formatter_field.module, line 9

Code

function formatter_field_field_info() {
  return array(
    'formatter' => array(
      'label' => t('Formatter'),
      'description' => t('This field stores formatter information for another field.'),
      'settings' => array(),
      'instance_settings' => array(
        'field_name' => '',
      ),
      'default_widget' => 'formatter_select',
      'default_formatter' => 'hidden',
    ),
  );
}