public function RouteSubscriber::__construct in Language Hierarchy 8
Same name and namespace in other branches
- 2.x src/Routing/RouteSubscriber.php \Drupal\language_hierarchy\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber.
Parameters
\Drupal\config_translation\ConfigMapperManagerInterface $mapper_manager: The mapper plugin discovery service.
File
- src/
Routing/ RouteSubscriber.php, line 28
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\language_hierarchy\RoutingCode
public function __construct(ConfigMapperManagerInterface $mapper_manager) {
$this->mapperManager = $mapper_manager;
}