*
* Generated from xml/schema/CRM/Core/MappingField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e18a4d7c43e3fded3e10bed98437577e)
+ * (GenCodeChecksum:11ff525a557ec58ebfa4fed22af699ea)
*/
/**
'name' => [
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
- 'title' => ts('Name'),
+ 'title' => ts('Field Name (or unique reference)'),
'description' => ts('Mapping field key'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'column_number' => [
'name' => 'column_number',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Column Number'),
+ 'title' => ts('Column Number to map to'),
'description' => ts('Column number for mapping set'),
'required' => TRUE,
'where' => 'civicrm_mapping_field.column_number',
'bao' => 'CRM_Core_DAO_MappingField',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_LocationType',
+ 'pseudoconstant' => [
+ 'table' => 'civicrm_location_type',
+ 'keyColumn' => 'id',
+ 'labelColumn' => 'display_name',
+ ],
],
'phone_type_id' => [
'name' => 'phone_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Phone type ID'),
+ 'title' => ts('Phone Type'),
'description' => ts('Which type of phone does this number belongs.'),
'where' => 'civicrm_mapping_field.phone_type_id',
'table_name' => 'civicrm_mapping_field',
'grouping' => [
'name' => 'grouping',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Grouping'),
+ 'title' => ts('Field Grouping'),
'description' => ts('Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
mappings).'),
'where' => 'civicrm_mapping_field.grouping',
'value' => [
'name' => 'value',
'type' => CRM_Utils_Type::T_STRING,
- 'title' => ts('Value'),
+ 'title' => ts('Search builder where clause'),
'description' => ts('SQL WHERE value for search-builder mapping fields.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,