src/Model/Site.php
public function getSiteTheme(){
		$theme = $this->Theme;
		if (!$theme) {
			$theme = Config::inst()->get(SSViewer::class, 'theme');
		}
		$this->extend('updateGetSiteTheme', $theme);
		return $theme;
	}
public function getSiteTheme(){
		$theme = $this->Theme;
		if (!$theme) {
			$theme = Config::inst()->get(SSViewer::class, 'theme');
		}
		$this->extend('updateGetSiteTheme', $theme);
		return $theme;
	}
public function getSiteTheme ( ) { $ theme = $ this -> Theme ; if ( ! $ theme ) { $ theme = Config :: inst ( ) -> get ( SSViewer :: class , 'theme' ) ; } $ this -> extend ( 'updateGetSiteTheme' , $ theme ) ; return $ theme ; }
Get the name of the theme applied to this site, allow extensions to override
@return String
Get the name of the theme applied to this site allow extensions to override