Adjusted missing definitions to only include definitions referenced by framework

This commit is contained in:
Jackson Darlow 2020-06-11 14:27:28 +12:00
parent dfc01457d6
commit 84235c6518
3 changed files with 29 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

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