Drupal::getContainer |
function |
core/lib/Drupal.php |
Returns the currently active global container. |
DrupalKernel::getContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Gets the current container. |
DrupalKernel::getContainerBuilder |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Gets a new ContainerBuilder instance used to build the service container. |
DrupalKernel::getContainerCacheKey |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Returns the container cache key based on the environment. |
DrupalKernelInterface::getContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Gets the current container. |
DrupalTest::testGetContainerException |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
@covers ::getContainer |
UnitTestCase::getContainerWithCacheTagsInvalidator |
function |
core/tests/Drupal/Tests/UnitTestCase.php |
Sets up a container with a cache tags invalidator. |