From dfc01457d67c8a9f0e507b9623f443c725efa5fe Mon Sep 17 00:00:00 2001 From: Jackson Darlow Date: Thu, 11 Jun 2020 13:34:45 +1200 Subject: [PATCH] #3236 Added missing config definitions (private statics) --- src/Core/Manifest/VersionProvider.php | 8 ++++++++ src/ORM/FieldType/DBField.php | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/src/Core/Manifest/VersionProvider.php b/src/Core/Manifest/VersionProvider.php index fee190057..b63bdaf87 100644 --- a/src/Core/Manifest/VersionProvider.php +++ b/src/Core/Manifest/VersionProvider.php @@ -4,6 +4,7 @@ namespace SilverStripe\Core\Manifest; use SilverStripe\Core\Config\Config; use Psr\SimpleCache\CacheInterface; +use SilverStripe\Core\Config\Configurable; use SilverStripe\Core\Convert; use SilverStripe\Core\Injector\Injector; @@ -24,6 +25,13 @@ use SilverStripe\Core\Injector\Injector; */ class VersionProvider { + use Configurable; + + /** + * @var array + */ + private static $modules; + /** * Gets a comma delimited string of package titles and versions * diff --git a/src/ORM/FieldType/DBField.php b/src/ORM/FieldType/DBField.php index 04383753c..686ea9405 100644 --- a/src/ORM/FieldType/DBField.php +++ b/src/ORM/FieldType/DBField.php @@ -107,6 +107,15 @@ 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',