function party_field_widget_info in Party 7
Implements hook_field_widget_info().
File
- ./
party.module, line 1745 - Provides a generic CRM party entity.
Code
function party_field_widget_info() {
return array(
'party_primary_field' => array(
'label' => t('Primary field'),
'description' => t('Pull field data from multiple sources to cache on a party.'),
'field types' => array_keys(field_info_field_types()),
'settings' => array(
'sources' => array(),
),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_CUSTOM,
'default value' => FIELD_BEHAVIOR_NONE,
),
),
);
}