Search for getContainer
- Search 7.x for getContainer
- Search 9.5.x for getContainer
- Search 8.9.x for getContainer
- Search 11.x for getContainer
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Drupal::getContainer | function | core/ |
Returns the currently active global container. |
DrupalKernel::getContainer | function | core/ |
Gets the current container. |
DrupalKernel::getContainerBuilder | function | core/ |
Gets a new ContainerBuilder instance used to build the service container. |
DrupalKernel::getContainerCacheKey | function | core/ |
Returns the container cache key based on the environment. |
DrupalKernelInterface::getContainer | function | core/ |
Gets the current container. |
DrupalTest::testGetContainerException | function | core/ |
@covers ::getContainer |
LoggerChannelFactoryTest::testDeprecatedGetContainer | function | core/ |
@covers ::__get @group legacy |
MockService::getContainer | function | core/ |
Gets the container object. |
UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.