Search for setContainer
- Search 7.x for setContainer
- Search 9.5.x for setContainer
- Search 8.9.x for setContainer
- Search 11.x for setContainer
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
CacheFactory::setContainer | function | core/ |
Sets the service container. |
ChainedFastBackendFactory::setContainer | function | core/ |
Sets the service container. |
ClassResolver::setContainer | function | core/ |
Sets the service container. |
ContainerRebuildWebTest::testSetContainerRebuildWithDifferentDeploymentIdentifier | function | core/ |
Sets a different deployment identifier. |
DependencySerializationTestDummy::setContainer | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
Drupal::setContainer | function | core/ |
Sets a new global container. |
Drupal::unsetContainer | function | core/ |
Unsets the global container. |
DrupalKernel::resetContainer | function | core/ |
Force a container reset. |
DrupalKernel::setContainer | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn phpcs:ignore Drupal.Commenting.FunctionComment.InvalidReturnVoid |
DrupalKernelInterface::resetContainer | function | core/ |
Force a container reset. |
DrupalKernelTest::testResetContainer | function | core/ |
@covers ::resetContainer |
DrupalTest::testSetContainer | function | core/ |
Tests the get/setContainer() method. |
EntityTypeManager::setContainer | function | core/ |
Sets the service container. |
FunctionalTestSetupTrait::setContainerParameter | function | core/ |
Changes parameters in the services.yml file. |
LoggerChannelFactory::setContainer | function | core/ |
Sets the service container. |
LoggerChannelFactoryTest::testDeprecatedSetContainer | function | core/ |
@covers ::setContainer @group legacy |
MockContainerAware::setContainer | function | core/ |
Sets the service container. |
MockContainerAware::setContainer | function | core/ |
Sets the service container. |
MockService::setContainer | function | core/ |
Sets the container object. |
TestKernel::setContainerWithKernel | function | core/ |
Sets a container with a kernel service on the Drupal class. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.