RoutePreloaderTest::$routeProvider

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php \Drupal\Tests\Core\Routing\RoutePreloaderTest::routeProvider
  2. 8.9.x core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php \Drupal\Tests\Core\Routing\RoutePreloaderTest::routeProvider
  3. 10 core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php \Drupal\Tests\Core\Routing\RoutePreloaderTest::routeProvider

The mocked preloadable route provider.

Type: \Drupal\Core\Routing\PreloadableRouteProviderInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php, line 25

Class

RoutePreloaderTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Routing%21RoutePreloader.php/class/RoutePreloader/11.x" title="Defines a class that can pre-load non-admin routes." class="local">\Drupal\Core\Routing\RoutePreloader</a> @group Routing

Namespace

Drupal\Tests\Core\Routing

Code

protected $routeProvider;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.