'CheckBox' => ts('Checkbox(es)'),
'Select Date' => ts('Select Date'),
'File' => ts('File'),
- 'Select State/Province' => ts('Select State/Province'),
- 'Select Country' => ts('Select Country'),
'RichTextEditor' => ts('Rich Text Editor'),
'Autocomplete-Select' => ts('Autocomplete-Select'),
'Link' => ts('Link'),
- 'ContactReference' => ts('Autocomplete-Select'),
];
}
'Address' => ts('Addresses'),
'Campaign' => ts('Campaigns'),
];
- $contactTypes = self::contactType();
- $contactTypes = !empty($contactTypes) ? ['Contact' => 'Contacts'] + $contactTypes : [];
+ $contactTypes = ['Contact' => ts('Contacts')] + self::contactType();
$extendObjs = CRM_Core_OptionGroup::values('cg_extend_objects');
$customGroupExtends = array_merge($contactTypes, $customGroupExtends, $extendObjs);
return $customGroupExtends;
];
}
+ /**
+ * @return array
+ */
+ public static function relationshipOrientation() {
+ return [
+ 'a_b' => ts('A to B'),
+ 'b_a' => ts('B to A'),
+ ];
+ }
+
}