From 84235c651837c3c4586328d6534a4db0af60dc3f Mon Sep 17 00:00:00 2001 From: Jackson Darlow Date: Thu, 11 Jun 2020 14:27:28 +1200 Subject: [PATCH] Adjusted missing definitions to only include definitions referenced by framework --- src/Dev/DevelopmentAdmin.php | 17 +++++++++++++++++ .../GridFieldDetailForm_ItemRequest.php | 12 ++++++++++++ src/ORM/FieldType/DBField.php | 9 --------- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/Dev/DevelopmentAdmin.php b/src/Dev/DevelopmentAdmin.php index a5c3df5a2..7d72a49bc 100644 --- a/src/Dev/DevelopmentAdmin.php +++ b/src/Dev/DevelopmentAdmin.php @@ -42,6 +42,23 @@ class DevelopmentAdmin extends Controller 'generatesecuretoken', ]; + /** + * Controllers for dev admin views + * + * e.g [ + * 'urlsegment' => [ + * 'controller' => 'SilverStripe\Dev\DevelopmentAdmin', + * 'links' => [ + * 'urlsegment' => 'description', + * ... + * ] + * ] + * ] + * + * @var array + */ + private static $registered_controllers; + /** * Assume that CLI equals admin permissions * If set to false, normal permission model will apply even in CLI mode diff --git a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php index 98f70d1bd..a013b6b82 100644 --- a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php +++ b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php @@ -36,6 +36,18 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler 'ItemEditForm' ]; + /** + * The default form actions available to this item request + * + * e.g [ + * 'showPagination': true, + * 'showAdd': true + * ] + * + * @var array + */ + private static $formActions; + /** * * @var GridField diff --git a/src/ORM/FieldType/DBField.php b/src/ORM/FieldType/DBField.php index 686ea9405..04383753c 100644 --- a/src/ORM/FieldType/DBField.php +++ b/src/ORM/FieldType/DBField.php @@ -107,15 +107,6 @@ abstract class DBField extends ViewableData implements DBIndexable */ private static $index = false; - /** - * The filters to be used by graphql form field front-end - * - * e.g [ contains, gt, lt, gte, lte ] - * - * @var array - */ - private static $graphql_default_filters; - private static $casting = [ 'ATT' => 'HTMLFragment', 'CDATA' => 'HTMLFragment',