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. |
EntityFieldManagerTest::$container |
property |
core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php |
The dependency injection container. |
EntityListBuilderTest::$container |
property |
core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php |
The service container used for testing. |
EntityResolverManagerTest::$container |
property |
core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php |
The mocked dependency injection container. |
EnvironmentCleanerFactory::$container |
property |
core/modules/simpletest/src/EnvironmentCleanerFactory.php |
The container. |
ExtensionMimeTypeGuesser::$container |
property |
core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php |
The service container. |
FormBase::container |
function |
core/lib/Drupal/Core/Form/FormBase.php |
Returns the service container. |
FunctionalTestSetupTrait::rebuildContainer |
function |
core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php |
Rebuilds \Drupal::getContainer(). |
FunctionalTestSetupTrait::setContainerParameter |
function |
core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php |
Changes parameters in the services.yml file. |
HandlerStackConfigurator::$container |
property |
core/lib/Drupal/Core/Http/HandlerStackConfigurator.php |
The service container. |
InstallerKernel::initializeContainer |
function |
core/lib/Drupal/Core/Installer/InstallerKernel.php |
Initializes the service container. |
KernelTestBase::containerBuild |
function |
core/modules/simpletest/src/KernelTestBase.php |
Sets up the base service container for this test. |
KernelTestBaseTest::testEnableModulesInstallContainer |
function |
core/modules/simpletest/src/Tests/KernelTestBaseTest.php |
Tests installing modules with DependencyInjection services. |
KeyValueFactory::$container |
property |
core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php |
|
LazyContextRepository::$container |
property |
core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php |
The service container. |
LazyContextRepositoryTest::$container |
property |
core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php |
The container. |
LocalTaskIntegrationTestBase::$container |
property |
core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php |
The container. |
MatcherDumper::$container |
property |
core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php |
The service container. |
MenuLinkPluginConverter::$container |
property |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
The service container. |
MimeTypeGuesser::$container |
property |
core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php |
The service container. |
MockService::$container |
property |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
|
MockService::getContainer |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Gets the container object. |
MockService::setContainer |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php |
Sets the container object. |
ModuleInstaller::$container |
property |
core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php |
The service container. |
OptimizedPhpArrayDumperTest::$containerBuilder |
property |
core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php |
The container builder instance. |
OptimizedPhpArrayDumperTest::$containerDefinition |
property |
core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php |
The definition for the container to build in tests. |
OptimizedPhpArrayDumperTest::testDumpForEmptyContainer |
function |
core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php |
Tests that an empty container works properly. |