Skip to content

Commit 10f49ce

Browse files
committed
DOC Document changes to CMSMain and LeftAndMain
1 parent 0774f54 commit 10f49ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/02_Developer_Guides/15_Customising_the_Admin_Interface/How_Tos/Customise_CMS_Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ by the [jstree](https://jstree.com) library. It is configured through
1313
`client/src/legacy/LeftAndMain.Tree.js` in the `silverstripe/admin` module, as well as some
1414
HTML5 metadata generated on its container (see the `data-hints` attribute).
1515

16-
The tree is rendered through [LeftAndMain::getSiteTreeFor()](api:SilverStripe\Admin\LeftAndMain::getSiteTreeFor()),
16+
The tree is rendered through [LeftAndMain::getTreeFor()](api:SilverStripe\Admin\LeftAndMain::getTreeFor()),
1717
which recursively collects all nodes based on various filtering criteria.
1818
The node strictly just has to implement the [Hierarchy](api:SilverStripe\ORM\Hierarchy\Hierarchy) extension,
1919
but in the CMS usually is a [SiteTree](api:SilverStripe\CMS\Model\SiteTree) object.

0 commit comments

Comments
 (0)