APIv4 - Add more metadata to CustomValue entities; use AutoService
authorcolemanw <coleman@civicrm.org>
Mon, 3 Jul 2023 13:53:05 +0000 (09:53 -0400)
committercolemanw <coleman@civicrm.org>
Mon, 3 Jul 2023 14:41:29 +0000 (10:41 -0400)
commit587559a3d4901276cd06e8f53f589c760f2d3469
tree2b730f0c22db7baac8db22f5d4d27aa226c6d1a5
parent3900cd87d0f5686f0de3fa0aed2ef3ef6aaec42f
APIv4 - Add more metadata to CustomValue entities; use AutoService

There are several places in SearchKit code that check an entity 'type' to see if it contains 'DAOEntity'; they all seem designed
to test if the query will go through  (so does it support joins, etc?) and custom entities were getting overlooked.

While I was at it I switch to our new standard 'AutoService' style of event listener
Civi/Api4/CustomValue.php
Civi/Api4/Provider/CustomEntityProvider.php
Civi/Core/Container.php
tests/phpunit/api/v4/Custom/CustomValueTest.php