function relation_dummy_field_field_info in Relation 8
Same name and namespace in other branches
- 7 relation_dummy_field/relation_dummy_field.module \relation_dummy_field_field_info()
Implements hook_field_info().
File
- relation_dummy_field/
relation_dummy_field.module, line 15 - A field storing arbitrary relations between entities.
Code
function relation_dummy_field_field_info() {
return array(
'relation' => array(
'label' => t('Relation'),
'description' => t('Stores relationships between entities.'),
'settings' => array(),
'default_widget' => 'relation_default',
'default_formatter' => 'relation_default',
'instance_settings' => array(
'relation_type' => '',
),
),
);
}