function ThemeHandler::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::__construct()
- 10 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::__construct()
- 9 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::__construct()
- 8.9.x core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::__construct()
Constructs a new ThemeHandler.
Parameters
string $root: The app root.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory to get the installed themes.
\Drupal\Core\Extension\ThemeExtensionList $themeList: An extension discovery instance.
File
-
core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php, line 30
Class
- ThemeHandler
- Default theme handler using the config system to store installation statuses.
Namespace
Drupal\Core\ExtensionCode
public function __construct(protected $root, protected ConfigFactoryInterface $configFactory, protected ThemeExtensionList $themeList) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.