mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
API Refactor out Page default classname hack
Fixes https://github.com/silverstripe/silverstripe-framework/issues/1932
This commit is contained in:
parent
93acf4b39a
commit
c97647078b
@ -61,6 +61,15 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
*/
|
*/
|
||||||
private static $default_child = "Page";
|
private static $default_child = "Page";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default value for SiteTree.ClassName enum
|
||||||
|
* {@see DBClassName::getDefault}
|
||||||
|
*
|
||||||
|
* @config
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private static $default_classname = "Page";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default parent class for this page.
|
* The default parent class for this page.
|
||||||
* Note: Value might be cached, see {@link $allowed_chilren}.
|
* Note: Value might be cached, see {@link $allowed_chilren}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user