ThemeNegotiatorInterface::determineActiveTheme

public ThemeNegotiatorInterface::determineActiveTheme(RouteMatchInterface $route_match)

Determine the active theme for the request.

Parameters

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

Return value

string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead.

File

core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php, line 46

Class

ThemeNegotiatorInterface
Defines an interface for classes which determine the active theme.

Namespace

Drupal\Core\Theme

Code

public function determineActiveTheme(RouteMatchInterface $route_match);
doc_Drupal
2016-10-29 09:48:18
Comments
Leave a Comment

Please login to continue.