Search for container
- Search 7.x for container
- Search 9.5.x for container
- Search 8.9.x for container
- Search 11.x for container
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Container | class | core/ |
Provides a render element that wraps child elements in a container. |
| Container | class | core/ |
Extends the container to prevent serialization. |
| Container | class | core/ |
Provides a container optimized for Drupal's needs. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| ContainerTest::testGetForSyntheticService | function | core/ |
Tests that Container::get() for synthetic services works - if defined. |
| ContainerTest::testGetForSyntheticServiceWithException | function | core/ |
Tests that Container::get() for synthetic services throws an Exception if not defined. |
| ContainerTest::testGetForWrongFactory | function | core/ |
Tests that Container::get() for wrong factories works correctly. |
| ContainerTest::testGetParameter | function | core/ |
Tests that Container::getParameter() works properly. |
| ContainerTest::testGetParameterIfNotFound | function | core/ |
Tests that Container::getParameter() works for non-existing parameters. |
| ContainerTest::testGetParameterIfNotFoundBecauseNull | function | core/ |
Tests that Container::getParameter() works properly for NULL parameters. |
| ContainerTest::testGetServiceIdMappings | function | core/ |
@covers \Drupal\Component\DependencyInjection\ServiceIdHashTrait::getServiceIdMappings[[api-linebreak]] @covers \Drupal\Component\DependencyInjection\ServiceIdHashTrait::generateServiceIdHash[[api-linebreak]] |
| ContainerTest::testGetServiceIds | function | core/ |
Tests that Container::getServiceIds() works properly. |
| ContainerTest::testGetWithFileInclude | function | core/ |
Tests that Container::get() for services with file includes works. |
| ContainerTest::testHas | function | core/ |
Tests that Container::has() works properly. |
| ContainerTest::testHasForAliasedService | function | core/ |
Tests that Container::has() for aliased services works properly. |
| ContainerTest::testHasParameter | function | core/ |
Tests that Container::hasParameter() works properly. |
| ContainerTest::testInitialized | function | core/ |
Tests that Container::initialized works correctly. |
| ContainerTest::testInitializedForAliases | function | core/ |
Tests that Container::initialized works correctly for aliases. |
| ContainerTest::testIterator | function | core/ |
Tests that service iterators are lazily instantiated. |
| ContainerTest::testReset | function | core/ |
Tests Container::reset(). |
| ContainerTest::testResolveServicesAndParametersForArgumentsUsingDeepArray | function | core/ |
Tests that services with an array of arguments work correctly. |
| ContainerTest::testResolveServicesAndParametersForInvalidArgument | function | core/ |
Tests that an invalid argument throw an Exception. |
| ContainerTest::testResolveServicesAndParametersForInvalidArguments | function | core/ |
Tests that invalid arguments throw an Exception. |
| ContainerTest::testResolveServicesAndParametersForOptionalServiceDependencies | function | core/ |
Tests that services that are optional work correctly. |
| ContainerTest::testResolveServicesAndParametersForPrivateService | function | core/ |
Tests that private services work correctly. |
| ContainerTest::testResolveServicesAndParametersForRawArgument | function | core/ |
Tests that raw type services arguments are resolved correctly. |
| ContainerTest::testResolveServicesAndParametersForServiceInstantiatedFromParameter | function | core/ |
Tests that a parameter that points to a service works correctly. |
| ContainerTest::testResolveServicesAndParametersForServiceReferencedViaServiceClosure | function | core/ |
Tests that services wrapped in a closure work correctly. |
| ContainerTest::testResolveServicesAndParametersForSharedPrivateService | function | core/ |
Tests that private service sharing works correctly. |
| ContainerTest::testSerialize | function | core/ |
Tests serialization. |
| ContainerTest::testSet | function | core/ |
Tests that Container::set() works properly. |
| ContainerTest::testSetParameterWithFrozenContainer | function | core/ |
Tests that Container::setParameter() in a frozen case works properly. |
| ContainerTest::testSetParameterWithUnfrozenContainer | function | core/ |
Tests that Container::setParameter() in an unfrozen case works properly. |
| container_rebuild_test.info.yml | file | core/ |
core/modules/system/tests/modules/container_rebuild_test/container_rebuild_test.info.yml |
| container_rebuild_test.routing.yml | file | core/ |
core/modules/system/tests/modules/container_rebuild_test/container_rebuild_test.routing.yml |
| container_test_file_service_test_service_function | function | core/ |
Test function for container testing. |
| container_test_file_service_test_service_function.php | file | core/ |
Contains a test function for container 'file' include testing. |
| ContentUninstallValidator::$container | property | core/ |
The service container. |
| ControllerBase::container | function | core/ |
Returns the service container. |
| ControllerResolverTest::$container | property | core/ |
The container. |
| Cron::$container | property | core/ |
The service container. |
| DatabaseDriverUninstallValidator::$container | property | core/ |
The service container. |
| DatabaseEventsTest::testEventDispatchingWhenNoContainerAvailable | function | core/ |
@covers ::dispatchEvent[[api-linebreak]] |
| DatabaseLockBackend::$container | property | core/ |
The service container. |
| DependencySerializationTestDummy::$container | property | core/ |
The container. |
| DependencySerializationTestDummy::setContainer | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| DiscoverServiceProvidersTest::testDiscoverServiceNoContainerYamls | function | core/ |
Tests the exception when container_yamls is not set. |
| Drupal::$container | property | core/ |
The currently active container object, or NULL if not initialized yet. |
| Drupal::getContainer | function | core/ |
Returns the currently active global container. |
| Drupal::hasContainer | function | core/ |
Returns TRUE if the container has been initialized, FALSE otherwise. |
| Drupal::setContainer | function | core/ |
Sets a new global container. |
| Drupal::unsetContainer | function | core/ |
Unsets the global container. |
| DrupalFlushAllCachesTest::$containerBuilds | property | core/ |
Stores the number of container builds. |
| DrupalKernel::$bootstrapContainer | property | core/ |
Holds the bootstrap container. |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.