class TestServiceProvider
Same name in this branch
- 8.9.x core/tests/Drupal/KernelTests/TestServiceProvider.php \Drupal\KernelTests\TestServiceProvider
Provides special routing services for tests.
Hierarchy
- class \Drupal\KernelTests\TestServiceProvider implements \Drupal\Core\DependencyInjection\ServiceProviderInterface, \Drupal\Core\DependencyInjection\ServiceModifierInterface
- class \Drupal\simpletest\TestServiceProvider extends \Drupal\KernelTests\TestServiceProvider
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\simpletestView source
class TestServiceProvider extends CoreTestServiceProvider {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.