You are here

public function ThemeKeyNegotiator::setThemeKeyEngine in ThemeKey 8

Sets the ThemeKey Engine service to use.

Parameters

\Drupal\themekey\EngineInterface $themeKeyEngine: The string translation service.

Return value

$this

File

src/Theme/ThemeKeyNegotiator.php, line 44

Class

ThemeKeyNegotiator

Namespace

Drupal\themekey\Theme

Code

public function setThemeKeyEngine(EngineInterface $themeKeyEngine) {
  $this->themeKeyEngine = $themeKeyEngine;
  return $this;
}