getCurrentThemeFolder() public method

public getCurrentThemeFolder ( ) : string
return string
Esempio n. 1
0
 public function getCurrentThemeFolder() : string
 {
     if (false === $this->themeContext->hasCurrentTheme()) {
         return $this->fallBackTheme;
     }
     return $this->themeContext->getCurrentThemeFolder();
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function getCurrentThemeFolder()
 {
     $folder = $this->themeContext->getCurrentThemeFolder();
     return null === $folder ? $this->fallBackTheme : $folder;
 }