You are here

public function ErrorServiceTestServiceProvider::alter in Drupal 8

Same name and namespace in other branches
  1. 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

ErrorServiceTestServiceProvider

Namespace

Drupal\error_service_test

Code

public function alter(ContainerBuilder $container) {
  static::$containerBuilder = $container;
}