function ErrorServiceTestServiceProvider::alter

Same name in other branches
  1. 9 core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider::alter()
  2. 8.9.x core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider::alter()
  3. 11.x core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php \Drupal\error_service_test\ErrorServiceTestServiceProvider::alter()

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;
}

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