protected function ThemeStream::getThemeHandler in System stream wrapper 8
Returns the theme handler service.
Return value
\Drupal\Core\Extension\ThemeHandlerInterface The theme handler service.
File
- src/
StreamWrapper/ ThemeStream.php, line 56
Class
- ThemeStream
- Defines the read-only theme:// stream wrapper for theme files.
Namespace
Drupal\system_stream_wrapper\StreamWrapperCode
protected function getThemeHandler() {
if (!isset($this->themeHandler)) {
$this->themeHandler = \Drupal::service('theme_handler');
}
return $this->themeHandler;
}