Afform - Provide `base_module` calculated field to APIv4 Afform.get
authorColeman Watts <coleman@civicrm.org>
Mon, 1 Nov 2021 17:27:51 +0000 (13:27 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 2 Nov 2021 19:03:57 +0000 (15:03 -0400)
commitdc36dc4db7d6a45764664499411a6c421a3c6ff2
tree2dbed9619433640cde4dfb9187fe97823dc3d535
parenta4b17a2cafd3310a369a51280daf16cab4a10d8b
Afform - Provide `base_module` calculated field to APIv4 Afform.get

This extra Afform field mirrors the functionality of the field of the same name
from ManagedEntity APIv4 trait: it returns the name of the extension in which
an Afform is packaged.
CRM/Extension/Mapper.php
Civi/Api4/Generic/BasicGetAction.php
ext/afform/core/CRM/Afform/AfformScanner.php
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/Civi/Api4/Afform.php
ext/afform/core/tests/phpunit/Civi/Afform/AfformGetTest.php
ext/afform/mock/tests/phpunit/api/v4/AfformTest.php
tests/phpunit/api/v4/Action/BasicActionsTest.php
tests/phpunit/api/v4/Action/GetFromArrayTest.php