RouteProvider::$connection
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::connection
- 8.9.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::connection
- 11.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::connection
The database connection from which to read route information.
Type: \Drupal\Core\Database\Connection
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProvider.php, line 31
Class
- RouteProvider
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.