class TestServiceProvider

Provides special routing services for tests.

Hierarchy

Expanded class hierarchy of TestServiceProvider

Deprecated

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

See also

https://www.drupal.org/node/2943146

File

core/modules/simpletest/src/TestServiceProvider.php, line 15

Namespace

Drupal\simpletest
View source
class TestServiceProvider extends CoreTestServiceProvider {

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
TestServiceProvider::$currentTest public static property
TestServiceProvider::addRouteProvider public static function Add the on demand rebuild route provider service.
TestServiceProvider::alter public function Modifies existing service definitions. Overrides ServiceModifierInterface::alter
TestServiceProvider::register public function Registers services to the container. Overrides ServiceProviderInterface::register

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