You are here

function feeds_test_field_field_info in Feeds 7.2

Implements hook_field_info().

File

tests/modules/feeds_test_field/feeds_test_field.module, line 22
Provides a field with special validation.

Code

function feeds_test_field_field_info() {
  return array(
    'feeds_test_field' => array(
      // Since this module is only used in tests, label and description
      // don't have to be translatable.
      'label' => 'Feeds test field',
      'description' => 'This field stores text and requires special validation.',
      'default_widget' => 'feeds_test_field_textfield',
      'default_formatter' => 'feeds_test_field_default',
      'property_type' => 'text',
    ),
  );
}