MINOR Allow extending LeftAndMain->SiteTreeAsUL() (specifically used to add the language drop down for the 'translatable' module)

This commit is contained in:
Ingo Schommer 2012-05-15 21:28:38 +02:00
parent 8e39e7dfba
commit 5ff282e20a

View File

@ -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;
}
/**