Search for container
- Search 7.x for container
- Search 8.9.x for container
- Search 10.3.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 Drupal container to set the service ID on the created object. |
Container | class | core/ |
Provides a container optimized for Drupal's needs. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ContainerTest::testGetForNonExistentNULLService | function | core/ |
Tests that Container::get() for NULL service works properly. @covers ::get @covers ::createService |
ContainerTest::testGetForNonExistentParameterDependency | function | core/ |
Tests that Container::get() for non-existent parameters works properly. |
ContainerTest::testGetForNonExistentParameterDependencyWithException | function | core/ |
Tests that Container::get() for non-existent parameters works properly. |
ContainerTest::testGetForNonExistentService | function | core/ |
Tests that Container::get() for non-existent services works properly. |
ContainerTest::testGetForNonExistentServiceDependency | function | core/ |
Tests that Container::get() for non-existent dependencies works properly. |
ContainerTest::testGetForNonExistentServiceDependencyWithException | function | core/ |
Tests that Container::get() for non-existent dependencies works properly. |
ContainerTest::testGetForNonExistentServiceMultipleTimes | function | core/ |
Tests multiple Container::get() calls for non-existing dependencies work. |
ContainerTest::testGetForNonExistentServiceWhenUsingNull | function | core/ |
Tests that Container::get() for non-existent services works properly. |
ContainerTest::testGetForNonExistentServiceWithExceptionOnSecondCall | function | core/ |
Tests multiple Container::get() calls with exception on the second time. |
ContainerTest::testGetForNonSharedService | function | core/ |
Tests that Container::get() for non-shared services works properly. |
ContainerTest::testGetForParameterDependencyWithExceptionOnSecondCall | function | core/ |
Tests Container::get() with an exception due to missing parameter on the second call. |
ContainerTest::testGetForSerializedServiceDefinition | function | core/ |
Tests that Container::get() for a serialized definition works properly. |
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 @covers \Drupal\Component\DependencyInjection\ServiceIdHashTrait::generateServiceIdHash |
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::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::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 |
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. |
DatabaseLockBackend::$container | property | core/ |
The service container. |
DependencySerializationTest::testSerializationWithoutReverseContainer | function | core/ |
@covers ::__sleep @covers ::__wakeup |
DependencySerializationTestDummy::$container | property | core/ |
The container. |
DependencySerializationTestDummy::setContainer | function | core/ |
|
DiscoverServiceProvidersTest::testDiscoverServiceNoContainerYamls | function | core/ |
Tests the exception when container_yamls is not set. |
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.