You are here

public function ThemeNegotiatorInterface::determineActiveTheme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php \Drupal\Core\Theme\ThemeNegotiatorInterface::determineActiveTheme()

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.

10 methods override ThemeNegotiatorInterface::determineActiveTheme()
AdminDemoNegotiator::determineActiveTheme in core/modules/block/src/Theme/AdminDemoNegotiator.php
Determine the active theme for the request.
AdminNegotiator::determineActiveTheme in core/modules/user/src/Theme/AdminNegotiator.php
Determine the active theme for the request.
AjaxBasePageNegotiator::determineActiveTheme in core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php
Determine the active theme for the request.
BatchNegotiator::determineActiveTheme in core/modules/system/src/Theme/BatchNegotiator.php
Determine the active theme for the request.
CustomThemeNegotiator::determineActiveTheme in core/modules/system/tests/modules/theme_test/src/Theme/CustomThemeNegotiator.php
Determine the active theme for the request.

... See full list

File

core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php, line 51
Contains \Drupal\Core\Theme\ThemeNegotiatorInterface.

Class

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

Namespace

Drupal\Core\Theme

Code

public function determineActiveTheme(RouteMatchInterface $route_match);