function SystemConfigSubscriber::__construct

Same name in other branches
  1. 9 core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::__construct()
  2. 8.9.x core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::__construct()
  3. 10 core/modules/system/src/SystemConfigSubscriber.php \Drupal\system\SystemConfigSubscriber::__construct()

Constructs the SystemConfigSubscriber.

Parameters

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder service.

File

core/modules/system/src/SystemConfigSubscriber.php, line 31

Class

SystemConfigSubscriber
System Config subscriber.

Namespace

Drupal\system

Code

public function __construct(RouteBuilderInterface $router_builder) {
    $this->routerBuilder = $router_builder;
}

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