mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API Refactor CMS-specific code out of LeftAndMain
This commit is contained in:
parent
b8c3bf6fa5
commit
92a5e4a057
@ -165,7 +165,6 @@ mappings:
|
||||
GroupImportForm: SilverStripe\Admin\GroupImportForm
|
||||
LeftAndMain: SilverStripe\Admin\LeftAndMain
|
||||
LeftAndMain_HTTPResponse: SilverStripe\Admin\LeftAndMain_HTTPResponse
|
||||
LeftAndMain_TreeNode: SilverStripe\Admin\LeftAndMain_TreeNode
|
||||
LeftAndMain_SearchFilter: SilverStripe\Admin\LeftAndMain_SearchFilter
|
||||
LeftAndMainExtension: SilverStripe\Admin\LeftAndMainExtension
|
||||
MemberImportForm: SilverStripe\Admin\MemberImportForm
|
||||
|
@ -1091,6 +1091,14 @@ now generally safer to use the default inherited config, where in the past you w
|
||||
If left unset, this will raise an error.
|
||||
* `getBackURL` and `getReturnReferer` have been added to safely inspect the current request
|
||||
to see if there is a url to redirect back to.
|
||||
* `LeftAndMain` class has had all tree manipulation code moved into CMS module class `CMSMain`.
|
||||
This includes:
|
||||
* `LeftAndMain_TreeNode` class -> renamed to `CMSMain_TreeNode`
|
||||
* `SiteTreeAsUL` removed (override left in `CMSMain`)
|
||||
* `getSiteTreeFor()` -> moved to `CMSMain`
|
||||
* `getsubtree()` -> moved to `CMSMain`
|
||||
* `updatetreenodes()` -> moved to `CMSMain`
|
||||
* `savetreenodes()` -> moved to `CMSMain`
|
||||
|
||||
|
||||
#### <a name="overview-general-removed"></a>General and Core Removed API
|
||||
|
Loading…
x
Reference in New Issue
Block a user