public function RouteSubscriber::__construct in Multiple Registration 8
Same name and namespace in other branches
- 8.2 src/Routing/RouteSubscriber.php \Drupal\multiple_registration\Routing\RouteSubscriber::__construct()
- 3.x 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 23
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\multiple_registration\RoutingCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}