Afform - Dispatch event to alter admin metadata; provide mixin
authorColeman Watts <coleman@civicrm.org>
Tue, 26 Apr 2022 13:16:55 +0000 (15:16 +0200)
committerColeman Watts <coleman@civicrm.org>
Tue, 26 Apr 2022 13:16:55 +0000 (15:16 +0200)
commit47332dba8ff22aa6f08d473a0437dc02ca53458d
treeddd54063c05f06b80761b560120b2f4e20335fe9
parentd663a98dabe07dd79e1c63d29e8731ee68c839d3
Afform - Dispatch event to alter admin metadata; provide mixin

Instead of scanning files for Afform entities, this dispatches an event to allow them to be altered.
It provides a mixin which extensions can use to automatically do the file scanning.
ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
ext/afform/admin/Civi/Api4/Action/Afform/LoadAdminData.php
ext/afform/admin/ang/afGuiEditor.ang.php
ext/afform/admin/info.xml
mixin/afform-entity-php@1/mixin.php [new file with mode: 0644]