function ThemeNegotiatorInterface::determineActiveTheme
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php \Drupal\Core\Theme\ThemeNegotiatorInterface::determineActiveTheme()
- 8.9.x core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php \Drupal\Core\Theme\ThemeNegotiatorInterface::determineActiveTheme()
- 11.x 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 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\ThemeCode
public function determineActiveTheme(RouteMatchInterface $route_match);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.