public function StyleguideThemeNegotiator::determineActiveTheme in Style Guide 8
Same name and namespace in other branches
- 2.x src/Theme/StyleguideThemeNegotiator.php \Drupal\styleguide\Theme\StyleguideThemeNegotiator::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.
Overrides ThemeNegotiatorInterface::determineActiveTheme
File
- src/
Theme/ StyleguideThemeNegotiator.php, line 90
Class
- StyleguideThemeNegotiator
- The Styleguide Theme Negotiator.
Namespace
Drupal\styleguide\ThemeCode
public function determineActiveTheme(RouteMatchInterface $route_match) {
return $this->themeName;
}