Skip to content

Commit 602efd3

Browse files
committed
Remove reference to core variable
1 parent 1085718 commit 602efd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private static function arrayToField(array $data, string $entityName): FieldSpec
7777
// These suffixes are always supported if a field has options
7878
$suffixes = ['name', 'label'];
7979
// Add other columns specified in schema (e.g. 'abbrColumn')
80-
foreach (array_diff(FormattingUtil::$pseudoConstantSuffixes, $suffixes) as $suffix) {
80+
foreach (['abbr', 'color', 'description', 'icon', 'grouping', 'url'] as $suffix) {
8181
if (!empty($data['pseudoconstant'][$suffix . 'Column'])) {
8282
$suffixes[] = $suffix;
8383
}

0 commit comments

Comments
 (0)