function RouteProvider::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::__construct()
- 10 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::__construct()
- 9 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::__construct()
- 8.9.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::__construct()
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProvider.php, line 41
Class
- RouteProvider
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
public function __construct(protected Connection $connection, protected StateInterface $state, protected CurrentPathStack $currentPath, protected CacheBackendInterface $cache, protected InboundPathProcessorInterface $pathProcessor, protected CacheTagsInvalidatorInterface $cacheTagInvalidator, protected CacheBackendInterface $fastCache, protected string $tableName = 'router', protected ?LanguageManagerInterface $languageManager = NULL) {
$this->languageManager ??= \Drupal::languageManager();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.