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:
e17912d
)
Report is_public as part of APIv3
author
Tim Otten
<totten@civicrm.org>
Wed, 12 Dec 2018 23:32:28 +0000
(15:32 -0800)
committer
CiviCRM
<info@civicrm.org>
Wed, 16 Sep 2020 02:13:17 +0000
(19:13 -0700)
ext/afform/api/v3/Afform/Get.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/afform/api/v3/Afform/Get.php
b/ext/afform/api/v3/Afform/Get.php
index d7f5caa6919f37aa0e839e9eaa275ea71eff11bf..cc21f508497a6e96068ae11ec8372e923d3c0caa 100644
(file)
--- a/
ext/afform/api/v3/Afform/Get.php
+++ b/
ext/afform/api/v3/Afform/Get.php
@@
-24,6
+24,12
@@
function _civicrm_api3_afform_get_spec(&$spec) {
'title' => ts('Description'),
'description' => 'Description',
);
+ $spec['is_public'] = array(
+ 'name' => 'is_public',
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ 'title' => ts('Is public'),
+ 'description' => 'Display with public theming?',
+ );
// FIXME: title, requires, layout, server_route, client_route
}