| ContainerTest::testResolveServicesAndParametersForInvalidArguments |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that invalid arguments throw an Exception. |
| ContainerTest::testResolveServicesAndParametersForOptionalServiceDependencies |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that services that are optional work correctly. |
| ContainerTest::testResolveServicesAndParametersForPrivateService |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that private services work correctly. |
| ContainerTest::testResolveServicesAndParametersForRawArgument |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that raw type services arguments are resolved correctly. |
| ContainerTest::testResolveServicesAndParametersForServiceInstantiatedFromParameter |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that a parameter that points to a service works correctly. |
| ContainerTest::testResolveServicesAndParametersForSharedPrivateService |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that private service sharing works correctly. |
| ContainerTest::testSerialize |
function |
core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php |
Tests serialization. |
| ContainerTest::testSet |
function |
core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php |
@covers ::set[[api-linebreak]] |
| ContainerTest::testSet |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that Container::set() works properly. |
| ContainerTest::testSetParameterWithFrozenContainer |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that Container::setParameter() in a frozen case works properly. |
| ContainerTest::testSetParameterWithUnfrozenContainer |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Tests that Container::setParameter() in an unfrozen case works properly. |
| ContentUninstallValidator::$container |
property |
core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php |
The service container. |
| ControllerBase::container |
function |
core/lib/Drupal/Core/Controller/ControllerBase.php |
Returns the service container. |
| ControllerResolverTest::$container |
property |
core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php |
The container. |
| Cron::$container |
property |
core/lib/Drupal/Core/ProxyClass/Cron.php |
The service container. |
| DatabaseLockBackend::$container |
property |
core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php |
The service container. |
| DependencySerializationTestDummy::$container |
property |
core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php |
The container. |
| DependencySerializationTestDummy::setContainer |
function |
core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php |
|
| DiscoverServiceProvidersTest::testDiscoverServiceNoContainerYamls |
function |
core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php |
Tests the exception when container_yamls is not set. |
| Drupal::$container |
property |
core/lib/Drupal.php |
The currently active container object, or NULL if not initialized yet. |
| Drupal::getContainer |
function |
core/lib/Drupal.php |
Returns the currently active global container. |
| Drupal::hasContainer |
function |
core/lib/Drupal.php |
Returns TRUE if the container has been initialized, FALSE otherwise. |
| Drupal::setContainer |
function |
core/lib/Drupal.php |
Sets a new global container. |
| Drupal::unsetContainer |
function |
core/lib/Drupal.php |
Unsets the global container. |
| DrupalKernel::$bootstrapContainer |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Holds the bootstrap container. |
| DrupalKernel::$bootstrapContainerClass |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Holds the class used for instantiating the bootstrap container. |
| DrupalKernel::$container |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Holds the container instance. |
| DrupalKernel::$containerNeedsDumping |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Whether the container needs to be dumped once booting is complete. |
| DrupalKernel::$containerNeedsRebuild |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Whether the container needs to be rebuilt the next time it is initialized. |
| DrupalKernel::$defaultBootstrapContainerDefinition |
property |
core/lib/Drupal/Core/DrupalKernel.php |
Holds the default bootstrap container definition. |
| DrupalKernel::cacheDrupalContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Stores the container definition in a cache. |
| DrupalKernel::compileContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Compiles a new service container. |
| DrupalKernel::getCachedContainerDefinition |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Returns the cached container definition - if any. |
| DrupalKernel::getContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Gets the current container. |
| DrupalKernel::getContainerBuilder |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Gets a new ContainerBuilder instance used to build the service container. |
| DrupalKernel::getContainerCacheKey |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Returns the container cache key based on the environment. |
| DrupalKernel::initializeContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Initializes the service container. |
| DrupalKernel::invalidateContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Invalidate the service container for the next request. |
| DrupalKernel::rebuildContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Force a container rebuild. |
| DrupalKernel::setContainer |
function |
core/lib/Drupal/Core/DrupalKernel.php |
|
| DrupalKernelInterface::CONTAINER_INITIALIZE_SUBREQUEST_FINISHED |
constant |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Event fired when the service container finished initializing in subrequest. |
| DrupalKernelInterface::getCachedContainerDefinition |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Returns the cached container definition - if any. |
| DrupalKernelInterface::getContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Gets the current container. |
| DrupalKernelInterface::invalidateContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Invalidate the service container for the next request. |
| DrupalKernelInterface::rebuildContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Force a container rebuild. |
| DrupalTest::$container |
property |
core/tests/Drupal/Tests/Core/DrupalTest.php |
The mock container. |
| DrupalTest::setMockContainerService |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
Sets up a mock expectation for the container get() method. |
| DrupalTest::testGetContainerException |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
@covers ::getContainer[[api-linebreak]] |
| DrupalTest::testSetContainer |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
Tests the get/setContainer() method. |
| ElementsContainerTest |
class |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
Tests the container form element for expected behavior. |