You are here

public function EngineInterface::determineTheme in ThemeKey 8

Determine the active theme for the request.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object.

Return value

string|null Returns the active theme name, else return NULL.

1 method overrides EngineInterface::determineTheme()
Engine::determineTheme in src/Engine/Engine.php
Determine the active theme for the request.

File

src/EngineInterface.php, line 26
Provides Drupal\themekey\Engine\EngineInterface

Class

EngineInterface
Defines an interface for ThemeKey Engines.

Namespace

Drupal\themekey

Code

public function determineTheme(RouteMatchInterface $route_match);