You are here

function field_object_field_info in Corresponding Entity References 7.3

Implements hook_field_info().

File

field_object/field_object.module, line 20

Code

function field_object_field_info() {
  return array(
    'field_object' => array(
      'label' => t('Field Reference'),
      'description' => t('Refers to a field instance.'),
      'settings' => array(),
      'instance_settings' => array(
        'function' => NULL,
      ),
      'default_widget' => 'options_select',
      'default_formatter' => 'field_object_label',
      'no_ui' => TRUE,
      'property_type' => 'text',
    ),
  );
}