projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa43bd
)
Set data_type on various fields in Afform API
author
Coleman Watts
<coleman@civicrm.org>
Sat, 30 Jan 2021 01:51:32 +0000
(20:51 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Sat, 30 Jan 2021 01:51:32 +0000
(20:51 -0500)
ext/afform/core/Civi/Api4/Afform.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/afform/core/Civi/Api4/Afform.php
b/ext/afform/core/Civi/Api4/Afform.php
index ae2a328d0ea602f988c2b21d9df170b9801e85e2..130f1110b030b2730ec13c075a1eb865ec557fa8 100644
(file)
--- a/
ext/afform/core/Civi/Api4/Afform.php
+++ b/
ext/afform/core/Civi/Api4/Afform.php
@@
-130,6
+130,7
@@
class Afform extends Generic\AbstractEntity {
],
[
'name' => 'requires',
+ 'data_type' => 'Array',
],
[
'name' => 'block',
@@
-164,6
+165,7
@@
class Afform extends Generic\AbstractEntity {
],
[
'name' => 'layout',
+ 'data_type' => 'Array',
],
];
@@
-176,9
+178,11
@@
class Afform extends Generic\AbstractEntity {
];
$fields[] = [
'name' => 'has_local',
+ 'data_type' => 'Boolean',
];
$fields[] = [
'name' => 'has_base',
+ 'data_type' => 'Boolean',
];
}