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 11.x for container
  5. 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
FieldTest::$container property core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php The container.
FieldUninstallValidator::$container property core/modules/field/src/ProxyClass/FieldUninstallValidator.php The service container.
FilterUninstallValidator::$container property core/modules/filter/src/ProxyClass/FilterUninstallValidator.php The service 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
FormTestGroupContainerForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php
FormTestGroupContainerForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupContainerForm.php
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
FormTestOptionalContainerForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php
FormTestOptionalContainerForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestOptionalContainerForm.php
ForumController::addContainer function core/modules/forum/src/Controller/ForumController.php Returns add container entity form.
ForumTest::$forumContainer property core/modules/forum/tests/src/Functional/ForumTest.php An array representing a forum container.
ForumUninstallValidator::$container property core/modules/forum/src/ProxyClass/ForumUninstallValidator.php 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.
HTMLRestrictions::getTextContainerElementList function core/modules/ckeditor5/src/HTMLRestrictions.php Gets a list of CKEditor 5's `$block` text container elements.
InstallerKernel::initializeContainer function core/lib/Drupal/Core/Installer/InstallerKernel.php Initializes the service container.
InstallProfileUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/InstallProfileUninstallValidator.php The service container.
KernelTestBase::$container property core/tests/Drupal/KernelTests/KernelTestBase.php
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.
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.
LocalTaskIntegrationTestBase::$container property core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php The container.
LoggerChannelFactory::setContainer function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Sets the service container.
LoggerChannelFactoryTest::testDeprecatedGetContainer function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php @covers ::__get
@group legacy
LoggerChannelFactoryTest::testDeprecatedSetContainer function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php @covers ::setContainer
@group legacy
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.
MigrationLookupTestCase::prepareContainer function core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php Prepares and sets the container.
MimeTypeGuesser::$container property core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php The service container.
MockContainerAware class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerAware class core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerAware::$container property core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php The service container.
MockContainerAware::$container property core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php The service container.
MockContainerAware::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerAware::getResult function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerAware::setContainer function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Sets the service container.
MockContainerAware::setContainer function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php Sets the service container.

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