function relation_dummy_field_field_info in Relation 7
Same name and namespace in other branches
- 8 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 11 - 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' => '',
),
),
);
}