APIv4 - Move filtering of component entities higher up
authorColeman Watts <coleman@civicrm.org>
Wed, 27 Apr 2022 16:55:47 +0000 (18:55 +0200)
committerColeman Watts <coleman@civicrm.org>
Wed, 27 Apr 2022 18:58:18 +0000 (20:58 +0200)
commit35be577cf61367d9748d08cdbb705ceffc64a4db
treec1104f38383c6ecf8e77b708a9566e7d89cd0e2f
parent47a3d1ca5cc294e743d9e617424117ad53b9f9d9
APIv4 - Move filtering of component entities higher up

Filtering out component entities at a low level was causing errors when trying
to get basic info about an entity from a disabled component.
It's better to do the filtering in the Entity.get action instead.
Civi/Api4/Action/Entity/Get.php
Civi/Api4/Provider/ActionObjectProvider.php