You are here

public function RouteSubscriber::__construct in Multiple Registration 3.x

Same name and namespace in other branches
  1. 8.2 src/Routing/RouteSubscriber.php \Drupal\multiple_registration\Routing\RouteSubscriber::__construct()
  2. 8 src/Routing/RouteSubscriber.php \Drupal\multiple_registration\Routing\RouteSubscriber::__construct()

Constructs a Drupal\multiple_registration\Routing\RouteSubscriber object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

File

src/Routing/RouteSubscriber.php, line 28

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\multiple_registration\Routing

Code

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