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. 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.
Container class ./Container.php Provides a render element that wraps child elements in a container.

All search results

Title Object type File name Summary
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.
HookOrderTestBase::$container property core/tests/Drupal/Tests/Core/Hook/HookOrderTestBase.php The container builder.
HookOrderTestBase::setUpContainer function core/tests/Drupal/Tests/Core/Hook/HookOrderTestBase.php Set up three service listeners, "a", "b" and "c".
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.
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.
MockContainerInjection class core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection class core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerInjection::$injected property core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.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::create function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php Instantiates a new instance of this class.
MockContainerInjection::getResult function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::getResult function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
MockContainerInjection::__construct function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockContainerInjection::__construct function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.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.
MockService::setContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Sets the container object.

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