APIv4 - Dispatch event during Entity.get
authorColeman Watts <coleman@civicrm.org>
Tue, 12 Oct 2021 02:32:28 +0000 (22:32 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 12 Oct 2021 22:23:53 +0000 (18:23 -0400)
commit0b2471a8fc2c4e4f210e0d21e6fa2b51e4351504
tree791e539dfc1406741a07d83df983d70236ee0557
parent6478fb57385422881fb2ba748cfa8f72bfabc642
APIv4 - Dispatch event during Entity.get

This allows extensions to modify the list of entities,
enabling "virtual" entities not based on php files.
Civi/Api4/Action/Entity/Get.php
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Utils/CoreUtil.php
tests/phpunit/api/v3/CampaignTest.php
tests/phpunit/api/v4/Action/BasicActionsTest.php