class RouteProvider
Same name in this branch
- 8.9.x core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider
- 8.9.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider
Same name in other branches
- 9 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider
- 9 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider
- 10 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider
- 10 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider
- 11.x core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider
- 11.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider
Rebuilds the router when the provider is instantiated.
Hierarchy
- class \Drupal\KernelTests\RouteProvider implements \Drupal\Core\Routing\PreloadableRouteProviderInterface, \Symfony\Cmf\Component\Routing\PagedRouteProviderInterface uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\simpletest\RouteProvider extends \Drupal\KernelTests\RouteProvider
Expanded class hierarchy of RouteProvider
Deprecated
in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\KernelTests\RouteProvider instead.
See also
https://www.drupal.org/node/2943146
1 string reference to 'RouteProvider'
- LocalTaskIntegrationTestBase::getLocalTaskManager in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskIntegrationTestBase.php - Sets up the local task manager for the test.
File
-
core/
modules/ simpletest/ src/ RouteProvider.php, line 15
Namespace
Drupal\simpletestView source
class RouteProvider extends CoreRouteProvider {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.