function relation_endpoint_field_info in Relation 7
Implements hook_field_info().
File
- ./
relation_endpoint.module, line 11 - Relation endpoints field.
Code
function relation_endpoint_field_info() {
return array(
'relation_endpoint' => array(
'label' => t('Relation endpoint'),
'description' => t('This field contains the endpoints of the relation'),
'default_widget' => 'relation_endpoint',
'default_formatter' => 'relation_endpoint',
'entity types' => array(
'relation',
),
'no_ui' => TRUE,
),
);
}