public function ThemeNegotiator::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::__construct()
Constructs a new ThemeNegotiator.
Parameters
\Drupal\Core\Theme\ThemeAccessCheck $theme_access: The access checker for themes.
File
- core/
lib/ Drupal/ Core/ Theme/ ThemeNegotiator.php, line 49 - Contains \Drupal\Core\Theme\ThemeNegotiator.
Class
- ThemeNegotiator
- Provides a class which determines the active theme of the page.
Namespace
Drupal\Core\ThemeCode
public function __construct(ThemeAccessCheck $theme_access) {
$this->themeAccess = $theme_access;
}