Same name and namespace in other branches
- 8.9.x core/lib/Drupal.php \Drupal::unsetContainer()
- 9 core/lib/Drupal.php \Drupal::unsetContainer()
Unsets the global container.
1 call to Drupal::unsetContainer()
- UnitTestCase::setUp in core/
tests/ Drupal/ Tests/ UnitTestCase.php
File
- core/
lib/ Drupal.php, line 156
Class
- Drupal
- Static Service Container wrapper.
Code
public static function unsetContainer() {
static::$container = NULL;
}