function relation_add_field_info in Relation add 7
Implements hook_field_info().
File
- ./
relation_add.module, line 186 - Relation Add module file.
Code
function relation_add_field_info() {
return array(
'relation_add' => array(
'label' => t('Relation add'),
'description' => t('Stores relationships between entities.'),
'settings' => array(),
'default_widget' => 'relation_add',
'default_formatter' => 'relation_add_endpoints_and_fields',
'instance_settings' => array(
'relation_type' => '',
),
),
);
}