From faece79db039f038d5beb181e0d4178e67a49372 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 26 Nov 2019 12:27:46 -0500 Subject: [PATCH] Remove client_route for now; might be yagni --- ext/afform/core/CRM/Afform/AfformScanner.php | 2 +- ext/afform/core/afform.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/afform/core/CRM/Afform/AfformScanner.php b/ext/afform/core/CRM/Afform/AfformScanner.php index d4a2bef678..6a6c797343 100644 --- a/ext/afform/core/CRM/Afform/AfformScanner.php +++ b/ext/afform/core/CRM/Afform/AfformScanner.php @@ -120,7 +120,7 @@ class CRM_Afform_AfformScanner { * @param string $name * Ex: 'view-individual' * @return array - * An array with some mix of the following keys: name, title, description, client_route, server_route, requires. + * An array with some mix of the following keys: name, title, description, server_route, requires, is_public. * NOTE: This is only data available in *.aff.json. It does *NOT* include layout. * Ex: [ * 'name' => 'view-individual', diff --git a/ext/afform/core/afform.php b/ext/afform/core/afform.php index 4e1a8f5da2..eee6d1d025 100644 --- a/ext/afform/core/afform.php +++ b/ext/afform/core/afform.php @@ -5,7 +5,7 @@ use CRM_Afform_ExtensionUtil as E; use Civi\Api4\Action\Afform\Submit; function _afform_fields() { - return ['name', 'title', 'description', 'requires', 'layout', 'server_route', 'client_route', 'is_public']; + return ['name', 'title', 'description', 'requires', 'layout', 'server_route', 'is_public']; } /** -- 2.25.1