function DbUpdateNegotiator::__construct

Same name in other branches
  1. 9 core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
  2. 10 core/modules/system/src/Theme/DbUpdateNegotiator.php \Drupal\system\Theme\DbUpdateNegotiator::__construct()
  3. 11.x 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\Theme

Code

public function __construct(ConfigFactoryInterface $config_factory) {
    $this->configFactory = $config_factory;
}

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