Drupal::setContainer |
function |
core/lib/Drupal.php |
Sets a new global container. |
Drupal::unsetContainer |
function |
core/lib/Drupal.php |
Unsets the global container. |
DrupalKernel::setContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
DrupalKernel::resetContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Force a container reset. |
DrupalTest::testSetContainer |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
Tests the get/setContainer() method. |
TestKernel::setContainerWithKernel |
function |
core/lib/Drupal/Core/Test/TestKernel.php |
Sets a container with a kernel service on the Drupal class. |
DrupalKernelTest::testResetContainer |
function |
core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php |
@covers ::resetContainer |
DrupalKernelInterface::resetContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Force a container reset. |
DependencySerializationTestDummy::setContainer |
function |
core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
ContainerRebuildWebTest::testSetContainerRebuildWithDifferentDeploymentIdentifier |
function |
core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php |
Sets a different deployment identifier. |