Afform - Add AfformBehavior entity
authorColeman Watts <coleman@civicrm.org>
Sun, 18 Sep 2022 19:23:39 +0000 (15:23 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 23 Oct 2022 22:17:06 +0000 (18:17 -0400)
commitf712b2a88b23ed8cb7f2358b8876efcc01185220
tree15897a9de65b8c819da04615c44031035b024eb1
parent19d9344e9c57c2d34b697dccc5f1259cc4b7d532
Afform - Add AfformBehavior entity

A "Behavior" is a PHP class which adds additional configuration and functionality to an Afform entity.
15 files changed:
ext/afform/admin/Civi/Api4/Action/Afform/LoadAdminData.php
ext/afform/admin/ang/afGuiEditor.js
ext/afform/admin/ang/afGuiEditor/afGuiEntity.component.js
ext/afform/admin/ang/afGuiEditor/afGuiEntity.html
ext/afform/admin/ang/afGuiEditor/entityConfig/Contact.html [deleted file]
ext/afform/admin/ang/afGuiEditor/entityConfig/Options.html [moved from ext/afform/admin/ang/afGuiEditor/entityConfig/Generic.html with 100% similarity]
ext/afform/core/Civi/Afform/AbstractBehavior.php [new file with mode: 0644]
ext/afform/core/Civi/Afform/BehaviorInterface.php [new file with mode: 0644]
ext/afform/core/Civi/Afform/Event/AfformEventEntityTrait.php [new file with mode: 0644]
ext/afform/core/Civi/Afform/Event/AfformPrefillEvent.php [new file with mode: 0644]
ext/afform/core/Civi/Afform/Event/AfformSubmitEvent.php
ext/afform/core/Civi/Api4/Action/Afform/AbstractProcessor.php
ext/afform/core/Civi/Api4/Action/AfformBehavior/Get.php [new file with mode: 0644]
ext/afform/core/Civi/Api4/AfformBehavior.php [new file with mode: 0644]
ext/afform/core/ang/af/afForm.component.js