Afform - Rename submitFile param from entityName to modelName
authorColeman Watts <coleman@civicrm.org>
Wed, 6 Oct 2021 21:26:41 +0000 (17:26 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 7 Oct 2021 04:24:44 +0000 (00:24 -0400)
commit9474f846a4f0da92e6c1f53b7f56bc49efc2539f
tree3e49627c4c2ab38b53315981373031d9f7c645ec
parentf78c7ae68a84eb3021266d855658c972bf221627
Afform - Rename submitFile param from entityName to modelName

$entityName is already a private property of APIv4 and has its own getter
which conflicted with a getter for a param named $entityName.
Better to just rename it.
ext/afform/core/Civi/Api4/Action/Afform/SubmitFile.php
ext/afform/core/ang/af/afField.component.js
ext/afform/mock/tests/phpunit/api/v4/AfformFileUploadTest.php