Search for container

  1. Search 7.x for container
  2. Search 9.5.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
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 enable.
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.
EnvironmentCleanerFactory::$container property core/modules/simpletest/src/EnvironmentCleanerFactory.php The container.
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.
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.
InstallerKernel::initializeContainer function core/lib/Drupal/Core/Installer/InstallerKernel.php Initializes the service container.
KernelTestBase::$container property core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::containerBuild function core/modules/simpletest/src/KernelTestBase.php Sets up the base service container for this test.
KernelTestBaseTest::testContainerIsolation function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests whether the fixture allows us to install modules and configuration.
KernelTestBaseTest::testEnableModulesInstallContainer function core/modules/simpletest/src/Tests/KernelTestBaseTest.php Tests installing modules with DependencyInjection services.
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
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.

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