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',