function apachesolr_reference_field_formatter_info in Apachesolr Reference 7
Implements hook_formatter_info().
File
- ./
apachesolr_reference.module, line 172 - functionality for creating reference fields to apache solr objects.
Code
function apachesolr_reference_field_formatter_info() {
return array(
'apachesolr_reference_formatter_ids' => array(
'label' => t('SOLR IDs'),
'field types' => array(
'apachesolr_reference',
),
),
'apachesolr_reference_formatter_custom' => array(
'label' => t('SOLR Reference Custom Content'),
'field types' => array(
'apachesolr_reference',
),
'settings' => array(
'custom_display' => '',
),
),
'apachesolr_reference_formatter_label' => array(
'label' => t('SOLR Reference Label'),
'field types' => array(
'apachesolr_reference',
),
'settings' => array(
'label' => 'label',
),
),
'apachesolr_reference_formatter_label_link' => array(
'label' => t('SOLR Reference Label (linked)'),
'field types' => array(
'apachesolr_reference',
),
'settings' => array(
'label' => 'label',
'url' => 'url',
),
),
);
}