Search for container

  1. Search 7.x for container
  2. Search 9.5.x for container
  3. Search 8.9.x for container
  4. Search 10.3.x for container
  5. Search 11.x for container
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Container class core/lib/Drupal/Core/Render/Element/Container.php Provides a render element that wraps child elements in a container.
Container class core/lib/Drupal/Core/DependencyInjection/Container.php Extends the container to prevent serialization.
Container class core/lib/Drupal/Component/DependencyInjection/Container.php Provides a container optimized for Drupal's needs.

All search results

Title Object type File name Summary
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::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.
HTMLRestrictions::getTextContainerElementList function core/modules/ckeditor5/src/HTMLRestrictions.php Gets a list of CKEditor 5's `$block` text container elements.
HttpKernelUiHelperTrait::rebuildContainer function core/tests/Drupal/Tests/HttpKernelUiHelperTrait.php Rebuilds the container.
IconExtractorTest::$container property core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php The container.
IconTest::$container property core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php The container.
InstallerKernel::initializeContainer function core/lib/Drupal/Core/Installer/InstallerKernel.php Initializes the service container.
KernelTestBase::$container property core/tests/Drupal/KernelTests/KernelTestBase.php The test container.
KernelTestBaseTest::testContainerIsolation function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests whether the fixture allows us to install modules and configuration.
KernelTestBaseTest::testSubsequentContainerIsolation function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests whether the fixture can re-install modules and configuration.
KernelTestDrupalKernel::getContainerCacheKey function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Returns the container cache key based on the environment.
KernelTestDrupalKernel::getContainerFromCacheIfCacheable function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Gets the cached container definition if the cache may be used.
KernelTestDrupalKernel::rebuildContainer function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Force a container rebuild.
KernelTestDrupalKernel::resetContainer function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Force a container reset.
KernelTestDrupalKernel::setContainerNeedsRebuild function core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php Sets whether the container should be rebuilt.
KernelTestSharedContainerTest class core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php Tests that the container is shared between kernel test methods.
KernelTestSharedContainerTest.php file core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php
KernelTestSharedContainerTest::$modules property core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php Modules to install.
KernelTestSharedContainerTest::testContainerRebuilds function core/tests/Drupal/KernelTests/KernelTestSharedContainerTest.php Tests the number of container builds for each iteration of a test.
KeyValueFactory::$container property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The service container.
LanguageConverter::$container property core/modules/language/src/ProxyClass/LanguageConverter.php The service container.
LanguageRequestSubscriber::onContainerInitializeSubrequestFinished function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Initializes config overrides whenever the service container is rebuilt.
LayoutBuilderEntityFormTrait::buildMessageContainer function core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php Build the message container.
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.
LazyService::$container property core/tests/Drupal/Tests/ProxyClass/Core/DependencyInjection/Fixture/LazyService.php The service 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.
MenuActiveTrail::$container property core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php The service container.
MenuLinkPluginConverter::$container property core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php The service container.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.