Search for container

  1. Search 7.x for container
  2. Search 8.9.x for container
  3. Search 10.3.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 Drupal container to set the service ID on the created object.
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::get function core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php
ExtensionMimeTypeGuesser::$container property core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php The service container.
field.field.taxonomy_term.forums.forum_container.yml file core/modules/forum/config/optional/field.field.taxonomy_term.forums.forum_container.yml core/modules/forum/config/optional/field.field.taxonomy_term.forums.forum_container.yml
field.storage.taxonomy_term.forum_container.yml file core/modules/forum/config/optional/field.storage.taxonomy_term.forum_container.yml core/modules/forum/config/optional/field.storage.taxonomy_term.forum_container.yml
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 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.
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.
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.
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.
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.
MimeTypePassTest::buildContainer function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/MimeTypePassTest.php
MockContainerAware class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerAware::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::$result property core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::create function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Instantiates a new instance of this class.
MockContainerInjection::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::__construct function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
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.

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