We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1085718 commit 602efd3Copy full SHA for 602efd3
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php
@@ -77,7 +77,7 @@ private static function arrayToField(array $data, string $entityName): FieldSpec
77
// These suffixes are always supported if a field has options
78
$suffixes = ['name', 'label'];
79
// Add other columns specified in schema (e.g. 'abbrColumn')
80
- foreach (array_diff(FormattingUtil::$pseudoConstantSuffixes, $suffixes) as $suffix) {
+ foreach (['abbr', 'color', 'description', 'icon', 'grouping', 'url'] as $suffix) {
81
if (!empty($data['pseudoconstant'][$suffix . 'Column'])) {
82
$suffixes[] = $suffix;
83
}
0 commit comments