protected function ThemeKeyNegotiator::getThemeKeyEngine in ThemeKey 8
Gets the ThemeKey Engine service.
Return value
\Drupal\themekey\EngineInterface The string translation service.
File
- src/
Theme/ ThemeKeyNegotiator.php, line 28
Class
Namespace
Drupal\themekey\ThemeCode
protected function getThemeKeyEngine() {
if (!$this->themeKeyEngine) {
$this->themeKeyEngine = \Drupal::service('themekey.engine');
}
return $this->themeKeyEngine;
}