function ThemePreprocess::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Theme/ThemePreprocess.php \Drupal\Core\Theme\ThemePreprocess::__construct()

File

core/lib/Drupal/Core/Theme/ThemePreprocess.php, line 31

Class

ThemePreprocess
Preprocess for common/core theme templates.

Namespace

Drupal\Core\Theme

Code

public function __construct(protected ConfigFactoryInterface $configFactory, protected PathMatcherInterface $pathMatcher, protected CurrentPathStack $currentPathStack, protected LanguageManagerInterface $languageManager, protected RendererInterface $renderer, protected RouteMatchInterface $routeMatch, protected ThemeManagerInterface $themeManager, protected ThemeSettingsProvider $themeSettingsProvider) {
}

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