function 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.