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. |
DrupalKernelInterface::resetContainer |
function |
core/lib/Drupal/Core/DrupalKernelInterface.php |
Force a container reset. |
DrupalKernelTest::testResetContainer |
function |
core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php |
@covers ::resetContainer[[api-linebreak]] |
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. |
Drupal\Component\DependencyInjection\ReverseContainer |
service |
core/core.services.yml |
|
ElementsContainerTest |
class |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
Tests the container form element for expected behavior. |
ElementsContainerTest.php |
file |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
|
ElementsContainerTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
The theme to install as the default for testing. |
ElementsContainerTest::$modules |
property |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
Modules to install. |
ElementsContainerTest::testOptionalContainerElements |
function |
core/modules/system/tests/src/Functional/Form/ElementsContainerTest.php |
Tests the #optional container property. |
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. |
EntityTestContainerFactoryPlugin |
class |
core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php |
A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory. |
EntityTestContainerFactoryPlugin.php |
file |
core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php |
|
EntityTestContainerFactoryPlugin::create |
function |
core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php |
Creates an instance of the plugin. |
ErrorContainer |
class |
core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php |
Container base class which triggers an error. |
ErrorContainer.php |
file |
core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php |
|
ErrorContainer::get |
function |
core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php |
|
ErrorServiceTestServiceProvider::$containerBuilder |
property |
core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php |
The in-situ container builder. |
ExceptionContainer |
class |
core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php |
Base container which throws an exception. |
ExceptionContainer.php |
file |
core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php |
|
ExceptionContainer::get |
function |
core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php |
|
ExtensionMimeTypeGuesser::$container |
property |
core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php |
The service container. |
FieldTest::$container |
property |
core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php |
The container. |
FormBase::container |
function |
core/lib/Drupal/Core/Form/FormBase.php |
Returns the service container. |
FormBuilderTest::$container |
property |
core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php |
The dependency injection container. |
FormTestGroupContainerForm |
class |
core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php |
Builds a simple form to test the #group property on #type 'container'. |
FormTestGroupContainerForm.php |
file |
core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php |
|
FormTestGroupContainerForm::buildForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php |
Form constructor. |
FormTestGroupContainerForm::getFormId |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php |
Returns a unique string identifying the form. |
FormTestGroupContainerForm::submitForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php |
Form submission handler. |
FormTestOptionalContainerForm |
class |
core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php |
Builds a simple form to test the #optional property on #type 'container'. |
FormTestOptionalContainerForm.php |
file |
core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php |
|
FormTestOptionalContainerForm::buildForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php |
Form constructor. |
FormTestOptionalContainerForm::getFormId |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php |
Returns a unique string identifying the form. |
FormTestOptionalContainerForm::submitForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php |
Form submission handler. |
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. |
HookCollectorPass::writeImplementationsToContainer |
function |
core/lib/Drupal/Core/Hook/HookCollectorPass.php |
Writes all implementations to the container. |
HookCollectorPass::writeToContainer |
function |
core/lib/Drupal/Core/Hook/HookCollectorPass.php |
Writes collected definitions to the container builder. |
HookCollectorPassTest::testContainerOutsideFunction |
function |
core/modules/system/tests/src/Functional/Hook/HookCollectorPassTest.php |
Tests installing a module with a Drupal container call outside functions. |