Afform - Convert Contact Autofill to a Behavior
authorColeman Watts <coleman@civicrm.org>
Sun, 18 Sep 2022 19:29:44 +0000 (15:29 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 23 Oct 2022 22:46:26 +0000 (18:46 -0400)
commit3d37a2df4a473a63da0d1b630d7cef1b1e378eab
tree4ba15cf152847473b2688efd8b4b0dd1979ee6a8
parentf712b2a88b23ed8cb7f2358b8876efcc01185220
Afform - Convert Contact Autofill to a Behavior

The functionality for autofilling the current user is unchanged, but now encapsulated in a Behavior.
ext/afform/core/Civi/Afform/Behavior/ContactAutofill.php [new file with mode: 0644]
ext/afform/core/Civi/Api4/Action/Afform/AbstractProcessor.php
ext/afform/core/afform.php
ext/afform/core/ang/af/afEntity.component.js
ext/afform/core/info.xml
ext/afform/core/tests/phpunit/Civi/Afform/AfformBehaviorTest.php [new file with mode: 0644]
ext/afform/mock/tests/phpunit/api/v4/AfformContactUsageTest.php