Search for setContainer
- Search 7.x for setContainer
- Search 9.5.x for setContainer
- Search 8.9.x for setContainer
- Search 10.3.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. |
| ContainerRebuildWebTest::testSetContainerRebuildWithDifferentDeploymentIdentifier | function | core/ |
Sets a different deployment identifier. |
| DependencySerializationTestDummy::setContainer | function | core/ |
|
| 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. |
| DrupalKernelInterface::resetContainer | function | core/ |
Force a container reset. |
| DrupalKernelTest::testResetContainer | function | core/ |
Tests reset container. |
| DrupalTest::testSetContainer | function | core/ |
Tests the get/setContainer() method. |
| FunctionalTestSetupTrait::setContainerParameter | function | core/ |
Changes parameters in the services.yml file. |
| 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.