function ref_field_field_formatter_info in (Entity)Reference Field Synchronization 7
Implements hook_field_formatter_info().
File
- ./
ref_field.module, line 273
Code
function ref_field_field_formatter_info() {
return array(
'ref_field_id' => array(
'label' => t('Entity id'),
'description' => t('Display the ID of the referenced entity'),
'field types' => array(
'ref_field',
),
'settings' => array(
'linked' => TRUE,
),
),
'ref_field_title' => array(
'label' => t('Entity title'),
'description' => t('Display the title of the referenced entity'),
'field types' => array(
'ref_field',
),
'settings' => array(
'linked' => TRUE,
),
),
);
}