function ThemeHooks::__construct

Same name and namespace in other branches
  1. main core/themes/admin/src/Hook/ThemeHooks.php \Drupal\admin\Hook\ThemeHooks::__construct()

Constructs the theme related hooks.

File

core/themes/admin/src/Hook/ThemeHooks.php, line 27

Class

ThemeHooks
Provides theme related hook implementations.

Namespace

Drupal\admin\Hook

Code

public function __construct(protected readonly ThemeExtensionList $themeExtensionList, protected readonly ThemeHandlerInterface $themeHandler, protected readonly RequestStack $requestStack, protected readonly AssetQueryStringInterface $assetQueryString, protected ClassResolverInterface $classResolver) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.