SearchKit - Add display of type `entity`
authorColeman Watts <coleman@civicrm.org>
Sun, 19 Mar 2023 22:33:18 +0000 (18:33 -0400)
committercolemanw <coleman@civicrm.org>
Thu, 25 May 2023 19:09:09 +0000 (15:09 -0400)
commitec43b669cb8b060751aab184869d3f0b7c78c88f
tree6fb6188af3cefd0e9cb55a586a610f870229d6c3
parent6602c89f7ee56b2e152ae74441ac64814a6decad
SearchKit - Add display of type `entity`

An entity display does not produce user-facing output, instead it writes to a SQL table
which can then be queried from SearchKit, the API, or other SQL-based tools like Drupal Views.

The new table is static; this includes a scheduled job to refresh it (disabled by default).
17 files changed:
Civi/Api4/Generic/Traits/SavedSearchInspectorTrait.php
Civi/Schema/Traits/OptionsSpecTrait.php
ext/search_kit/Civi/Api4/Action/SKEntity/GetRefreshDate.php [new file with mode: 0644]
ext/search_kit/Civi/Api4/Action/SKEntity/Refresh.php [new file with mode: 0644]
ext/search_kit/Civi/Api4/Event/Subscriber/SKEntitySubscriber.php [new file with mode: 0644]
ext/search_kit/Civi/Api4/SKEntity.php [new file with mode: 0644]
ext/search_kit/Civi/Api4/Service/Spec/Provider/SKEntitySpecProvider.php [new file with mode: 0644]
ext/search_kit/Civi/BAO/SK_Entity.php [new file with mode: 0644]
ext/search_kit/Civi/Search/Admin.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayEntity.component.js [new file with mode: 0644]
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.component.js [new file with mode: 0644]
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.decorator.js [new file with mode: 0644]
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.html [new file with mode: 0644]
ext/search_kit/managed/SearchDisplayType.mgd.php
ext/search_kit/search_kit.php
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/EntityDisplayTest.php [new file with mode: 0644]