mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Allow extending LeftAndMain->SiteTreeAsUL() (specifically used to add the language drop down for the 'translatable' module)
This commit is contained in:
parent
8e39e7dfba
commit
5ff282e20a
@ -593,7 +593,9 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
* @return String HTML
|
||||
*/
|
||||
public function SiteTreeAsUL() {
|
||||
return $this->getSiteTreeFor($this->stat('tree_class'));
|
||||
$html = $this->getSiteTreeFor($this->stat('tree_class'));
|
||||
$this->extend('updateSiteTreeAsUL', $html);
|
||||
return $html;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user