Report is_public as part of APIv3
authorTim Otten <totten@civicrm.org>
Wed, 12 Dec 2018 23:32:28 +0000 (15:32 -0800)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:17 +0000 (19:13 -0700)
ext/afform/api/v3/Afform/Get.php

index d7f5caa6919f37aa0e839e9eaa275ea71eff11bf..cc21f508497a6e96068ae11ec8372e923d3c0caa 100644 (file)
@@ -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
 }