function ThemeSuggestionHooks::__construct
Same name and namespace in other branches
- main core/themes/admin/src/Hook/ThemeSuggestionHooks.php \Drupal\admin\Hook\ThemeSuggestionHooks::__construct()
Constructs the theme related hooks.
File
-
core/
themes/ admin/ src/ Hook/ ThemeSuggestionHooks.php, line 22
Class
- ThemeSuggestionHooks
- Provides theme suggestion hook implementations.
Namespace
Drupal\admin\HookCode
public function __construct(protected readonly RequestStack $requestStack, protected readonly PathMatcherInterface $pathMatcher, protected readonly RouteMatchInterface $routeMatch, protected ClassResolverInterface $classResolver) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.