RouteProvider.php

Same filename in this branch
  1. 8.9.x core/tests/Drupal/KernelTests/RouteProvider.php
  2. 8.9.x core/lib/Drupal/Core/Routing/RouteProvider.php
Same filename in other branches
  1. 9 core/tests/Drupal/KernelTests/RouteProvider.php
  2. 9 core/lib/Drupal/Core/Routing/RouteProvider.php
  3. 10 core/tests/Drupal/KernelTests/RouteProvider.php
  4. 10 core/lib/Drupal/Core/Routing/RouteProvider.php
  5. 11.x core/tests/Drupal/KernelTests/RouteProvider.php
  6. 11.x core/lib/Drupal/Core/Routing/RouteProvider.php

Namespace

Drupal\simpletest

File

core/modules/simpletest/src/RouteProvider.php

View source
<?php

namespace Drupal\simpletest;

use Drupal\KernelTests\RouteProvider as CoreRouteProvider;

/**
 * Rebuilds the router when the provider is instantiated.
 *
 * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
 *   Drupal\KernelTests\RouteProvider instead.
 *
 * @see https://www.drupal.org/node/2943146
 */
class RouteProvider extends CoreRouteProvider {

}

Classes

Title Deprecated Summary
RouteProvider

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\KernelTests\RouteProvider instead.

Rebuilds the router when the provider is instantiated.

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