function PreprocessHooks::__construct
Same name and namespace in other branches
- 11.x core/themes/admin/src/Hook/PreprocessHooks.php \Drupal\admin\Hook\PreprocessHooks::__construct()
Constructs the theme related hooks.
File
-
core/
themes/ admin/ src/ Hook/ PreprocessHooks.php, line 53
Class
- PreprocessHooks
- Provides preprocess implementations.
Namespace
Drupal\admin\HookCode
public function __construct(protected readonly ThemeExtensionList $themeExtensionList, protected readonly ThemeHandlerInterface $themeHandler, protected readonly ThemeManagerInterface $themeManager, protected readonly RequestStack $requestStack, protected readonly AssetQueryStringInterface $assetQueryString, protected readonly RouteMatchInterface $currentRouteMatch, protected readonly ConfigFactoryInterface $configFactory, protected readonly AccountInterface $currentUser, protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly BlockManagerInterface $blockManager, protected readonly RendererInterface $renderer, protected readonly ThemeSettingsProvider $themeSettingsProvider, protected readonly FileUrlGeneratorInterface $fileUrlGenerator, protected readonly ModuleHandlerInterface $moduleHandler, protected ClassResolverInterface $classResolver) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.