public function DomainRouteProvider::__construct in Domain Access 8
DomainRouteProvider constructor.
Extends the core RouteProvider. Note that the Kernel tests load a different RouteProvider, which means we cannot declare a common interface for the $inner_service parameter.
Overrides RouteProvider::__construct
See also
Drupal\Core\Routing\RouteProvider::__construct()
File
- domain/
src/ Routing/ DomainRouteProvider.php, line 39
Class
- DomainRouteProvider
- Custom router.route_provider service to make it domain context sensitive.
Namespace
Drupal\domain\RoutingCode
public function __construct($inner_service, Connection $connection, StateInterface $state, CurrentPathStack $current_path, CacheBackendInterface $cache_backend, InboundPathProcessorInterface $path_processor, CacheTagsInvalidatorInterface $cache_tag_invalidator, $table = 'router', LanguageManagerInterface $language_manager = NULL) {
$this->innerService = $inner_service;
parent::__construct($connection, $state, $current_path, $cache_backend, $path_processor, $cache_tag_invalidator, $table, $language_manager);
}