APIv4 - Improve pseudoconstant suffix support
authorColeman Watts <coleman@civicrm.org>
Wed, 20 May 2020 18:55:20 +0000 (14:55 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 20 May 2020 18:55:20 +0000 (14:55 -0400)
commit3ffbd21c28afcf8f2adb54e25dc6550b9dac19f8
tree5dbe4ba430517a80ae11de8c19c075f6bca12435
parent1f9126ad6733d08d3ecac44d2f3c8dec27bfccbb
APIv4 - Improve pseudoconstant suffix support

Suffixes like :color now work for get actions (but not create because they are not unique idenfitiers).
Test added for rich option lists in getfields
Civi/Api4/Generic/BasicGetAction.php
Civi/Api4/Utils/FormattingUtil.php
tests/phpunit/api/v4/Action/BasicActionsTest.php
tests/phpunit/api/v4/Mock/Api4/MockBasicEntity.php