public function DbUpdateNegotiator::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
Constructs a DbUpdateNegotiator.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- core/
modules/ system/ src/ Theme/ DbUpdateNegotiator.php, line 28
Class
- DbUpdateNegotiator
- Sets the active theme for the database update pages.
Namespace
Drupal\system\ThemeCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}