function civicrm_entity_profile_civicrm_entity_supported_info in CiviCRM Entity 7.2
File
- modules/
civicrm_entity_profile/ civicrm_entity_profile.module, line 61
Code
function civicrm_entity_profile_civicrm_entity_supported_info(&$civicrm_entity_info) {
$civicrm_entity_info['civicrm_uf_field'] = array(
'civicrm entity name' => 'uf_field',
'label property' => 'label',
'permissions' => array(
'view' => array(),
'edit' => array(),
'update' => array(),
'create' => array(),
'delete' => array(),
),
'theme' => array(
'template' => 'civicrm-uf-field',
'path' => drupal_get_path('module', 'civicrm_entity_profile') . '/templates',
),
'display suite' => array(
'link fields' => array(
array(
'link_field' => 'uf_group_id',
'target' => 'civicrm_uf_group',
),
),
'boolean fields' => array(
'is_active',
'is_view',
'is_required',
'in_selector',
'is_searchable',
'is_reserved',
'is_multi_summary',
),
'option fields' => array(
'location_type_id',
'phone_type_id',
'website_type_id',
'field_type',
),
),
);
$civicrm_entity_info['civicrm_uf_group'] = array(
'civicrm entity name' => 'uf_group',
'label property' => 'title',
'permissions' => array(
'view' => array(),
'edit' => array(),
'update' => array(),
'create' => array(),
'delete' => array(),
),
'theme' => array(
'template' => 'civicrm-uf-group',
'path' => drupal_get_path('module', 'civicrm_entity_profile') . '/templates',
),
'display suite' => array(
'link fields' => array(),
'boolean fields' => array(
'is_active',
'is_map',
'add_captcha',
'is_edit_link',
'is_uf_link',
'is_update_dupe',
'is_reserved',
'is_cms_user',
'is_proximity_search',
),
'date fields' => array(
'created_date',
),
),
);
$civicrm_entity_info['civicrm_uf_join'] = array(
'civicrm entity name' => 'uf_join',
'label property' => 'id',
'permissions' => array(
'view' => array(),
'edit' => array(),
'update' => array(),
'create' => array(),
'delete' => array(),
),
'theme' => array(
'template' => 'civicrm-uf-join',
'path' => drupal_get_path('module', 'civicrm_entity_profile') . '/templates',
),
'display suite' => array(
'link fields' => array(
array(
'link_field' => 'uf_group_id',
'target' => 'civicrm_uf_group',
),
),
'boolean fields' => array(
'is_active',
),
),
);
}