public function ErrorServiceTestServiceProvider::alter in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider::alter()
Modifies existing service definitions.
Parameters
ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.
Overrides ServiceModifierInterface::alter
File
- core/
modules/ system/ tests/ modules/ error_service_test/ src/ ErrorServiceTestServiceProvider.php, line 20
Class
Namespace
Drupal\error_service_testCode
public function alter(ContainerBuilder $container) {
static::$containerBuilder = $container;
}