function ThemeAccessCheck::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ThemeAccessCheck.php \Drupal\Core\Theme\ThemeAccessCheck::__construct()
- 8.9.x core/lib/Drupal/Core/Theme/ThemeAccessCheck.php \Drupal\Core\Theme\ThemeAccessCheck::__construct()
- 10 core/lib/Drupal/Core/Theme/ThemeAccessCheck.php \Drupal\Core\Theme\ThemeAccessCheck::__construct()
Constructs a \Drupal\Core\Theme\Registry object.
Parameters
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeAccessCheck.php, line 27
Class
- ThemeAccessCheck
- Provides access checking for themes for routing and theme negotiation.
Namespace
Drupal\Core\ThemeCode
public function __construct(ThemeHandlerInterface $theme_handler) {
$this->themeHandler = $theme_handler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.