You are here

function sarnia_field_info in Sarnia 7

Implements hook_field_info().

Provide a Field API field representing the contents of a Solr document.

File

./sarnia.module, line 634

Code

function sarnia_field_info() {
  return array(
    'sarnia' => array(
      'label' => t('Solr Document'),
      'description' => t('Properties loaded from a Solr document.'),
      'settings' => array(),
      'instance_settings' => array(),
      'default_widget' => 'sarnia_no_input',
      'default_formatter' => 'sarnia_default',
      'no_ui' => TRUE,
    ),
  );
}