function DbUpdateNegotiator::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
- 10 core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
- 9 core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
- 8.9.x core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
Constructs a DbUpdateNegotiator.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\Core\Extension\ThemeHandlerInterface $themeHandler: The theme handler.
File
-
core/
modules/ system/ src/ Theme/ DbUpdateNegotiator.php, line 23
Class
- DbUpdateNegotiator
- Sets the active theme for the database update pages.
Namespace
Drupal\system\ThemeCode
public function __construct(protected ConfigFactoryInterface $configFactory, protected ThemeHandlerInterface $themeHandler) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.