class TestServiceProvider in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/KernelTests/TestServiceProvider.php \Drupal\KernelTests\TestServiceProvider
- 8 core/modules/simpletest/src/TestServiceProvider.php \Drupal\simpletest\TestServiceProvider
Provides special routing services for tests.
Hierarchy
- class \Drupal\KernelTests\TestServiceProvider implements ServiceModifierInterface, ServiceProviderInterface
- class \Drupal\simpletest\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 {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestServiceProvider:: |
public static | property | ||
TestServiceProvider:: |
public static | function | Add the on demand rebuild route provider service. | |
TestServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceModifierInterface:: |
|
TestServiceProvider:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |