function civicrm_entity_contact_assign_rel_type_list_field_field_formatter_info in CiviCRM Entity 7.2
Implements hook_field_formatter_info().
File
- modules/
civicrm_entity_contact_assign_rel_type_list_field/ civicrm_entity_contact_assign_rel_type_list_field.module, line 305 - Provide CiviCRM Entity Contact Assign Relationship Type List Field Type. Provides a widget for adding/removing a contacts relationships to a configured global contact.
Code
function civicrm_entity_contact_assign_rel_type_list_field_field_formatter_info() {
return array(
'civicrm_entity_contact_assign_relationship_type_list_field_default_formatter' => array(
// Machine name of the formatter
'label' => t('List Relationships'),
'field types' => array(
'civicrm_entity_contact_assign_relationship_type_list_field',
),
'settings' => array(
// Array of the settings we'll create
'link_to_relationships' => 0,
),
),
);
}