function relation_dummy_field_field_formatter_info in Relation 7
Same name and namespace in other branches
- 8 relation_dummy_field/relation_dummy_field.module \relation_dummy_field_field_formatter_info()
Implements hook_field_formatter_info().
File
- relation_dummy_field/
relation_dummy_field.module, line 84 - A field storing arbitrary relations between entities.
Code
function relation_dummy_field_field_formatter_info() {
return array(
'relation_default' => array(
'label' => t('Default'),
'field types' => array(
'relation',
),
),
'relation_otherendpoint' => array(
'label' => t('Other endpoint'),
'field types' => array(
'relation',
),
),
'relation_natural' => array(
'label' => t('Natural language'),
'field types' => array(
'relation',
),
),
);
}