From c987231b308b06b0ecd0339471ce1907b5a14fdc Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 12 Dec 2018 15:32:28 -0800 Subject: [PATCH] Report is_public as part of APIv3 --- ext/afform/api/v3/Afform/Get.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/afform/api/v3/Afform/Get.php b/ext/afform/api/v3/Afform/Get.php index d7f5caa691..cc21f50849 100644 --- 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 } -- 2.25.1