APIv4 - Make the @searchable flag explicit for OptionList type entities.
authorColeman Watts <coleman@civicrm.org>
Tue, 8 Jun 2021 23:18:30 +0000 (19:18 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 9 Jun 2021 00:31:52 +0000 (20:31 -0400)
commit8a1d730889d2661b83d990b15abf0c0bf02f9b62
treeb44889a03c62f29588e2a216413d5b4de9aec652
parent7123cabb00db44e7a9352aff2f2eadcf70cf5263
APIv4 - Make the @searchable flag explicit for OptionList type entities.

The OptionList trait may or may not be useful in future, maybe we'll just get rid of it if not.
But I think it's better not to couple it with the @searchable flag, as that's not exactly the same thing.
15 files changed:
Civi/Api4/CaseType.php
Civi/Api4/ContactType.php
Civi/Api4/Country.php
Civi/Api4/FinancialType.php
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Generic/Traits/OptionList.php
Civi/Api4/LocationType.php
Civi/Api4/MembershipType.php
Civi/Api4/OptionGroup.php
Civi/Api4/OptionValue.php
Civi/Api4/PaymentProcessor.php
Civi/Api4/PaymentProcessorType.php
Civi/Api4/PaymentToken.php
Civi/Api4/RelationshipType.php
Civi/Api4/StateProvince.php