function ThemeSettingsProvider::__construct

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

Builds a new service instance.

File

core/lib/Drupal/Core/Extension/ThemeSettingsProvider.php, line 37

Class

ThemeSettingsProvider
Default implementation of the theme settings provider service.

Namespace

Drupal\Core\Extension

Code

public function __construct(protected readonly ThemeManagerInterface $themeManager, protected readonly ThemeInitializationInterface $themeInitialization, protected readonly ThemeHandlerInterface $themeHandler, protected readonly ConfigFactoryInterface $configFactory, protected readonly FileUrlGeneratorInterface $fileUrlGenerator, #[Autowire(service: 'cache.memory')] protected readonly CacheBackendInterface $memoryCache) {
}

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