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 main 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
PersistentDatabaseLockBackend::$container property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The service container.
PhpArrayContainer class core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Provides a container optimized for Drupal's needs.
PhpArrayContainer.php file core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php
PhpArrayContainer::createService function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Creates a service from a service definition.
PhpArrayContainer::resolveServicesAndParameters function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Resolves arguments that represent services or variables to the real values.
PhpArrayContainer::__construct function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Constructs a new Container instance.
PhpArrayContainerTest class core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Tests Drupal\Component\DependencyInjection\PhpArrayContainer.
PhpArrayContainerTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php
PhpArrayContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a machine-optimized '@notation'.
PhpArrayContainerTest::getParameterCall function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a service definition.
PhpArrayContainerTest::getServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a service definition.
PhpArrayContainerTest::setUp function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php
position-container.module.css file core/themes/stable9/css/system/components/position-container.module.css /*
* @file
* Contain positioned elements.
*/

.position-container {
position: relative;
}
ProxyServicesPassTest::testContainerWithLazyServices function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php Tests container with lazy services.
ProxyServicesPassTest::testContainerWithLazyServicesWithoutProxyClass function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php Tests container with lazy services without proxy class.
ProxyServicesPassTest::testContainerWithoutLazyServices function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php Tests container without lazy services.
RenderElementTest::$container property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The container.
RenderElementTypesTest::testContainer function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'container'.
ReverseContainer class core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Retrieves service IDs from the container for public services.
ReverseContainer.php file core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php
ReverseContainer::$getServiceId property core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php A closure on the container that can search for services.
ReverseContainer::$recordedServices property core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php A static map of services to a hash.
ReverseContainer::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Generates an identifier for a service based on the object class and hash.
ReverseContainer::getId function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Returns the ID of the passed object when it exists as a service.
ReverseContainer::recordContainer function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Records a map of the container's services.
ReverseContainer::__construct function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Constructs a ReverseContainer object.
ReverseContainerTest class core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php Tests the ReverseContainer class.
ReverseContainerTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php
ReverseContainerTest::testGetId function core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php Tests get id.
ReverseContainerTest::testRecordContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php Tests record container.
RouteBuilder::$container property core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php The service container.
Services and Dependency Injection Container group core/core.api.php Overview of the Dependency Injection Container and Services.
SiteConfigureForm::resetPropertiesFromContainer function core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php Repopulate class properties from container.
SqlContentEntityStorageTest::$container property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The dependency injection container.
StackedKernelPassTest::$containerBuilder property core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php
SynchronizeCsrfTokenSeedTrait::rebuildContainer function core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php
TaggedHandlersPassTest::buildContainer function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
template_preprocess_container function core/includes/theme.inc Prepares variables for container templates.
TestContainerDerivativeDiscovery class core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php Defines container test derivative discovery.
TestContainerDerivativeDiscovery.php file core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php
TestContainerDerivativeDiscovery::create function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php Creates a new class instance.
TestContainerDerivativeDiscovery::__construct function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php Constructs a TestContainerDerivativeDiscovery object.
TestController::containerReset function core/modules/system/tests/modules/container_rebuild_test/src/TestController.php Resets the container.
TestKernel::setContainerWithKernel function core/lib/Drupal/Core/Test/TestKernel.php Sets a container with a kernel service on the Drupal class.
TestSetupTrait::$privateContainer property core/lib/Drupal/Core/Test/TestSetupTrait.php Stores the container in case it is set before available with \Drupal.
ThemeHookCollectorPass::writeToContainer function core/lib/Drupal/Core/Hook/ThemeHookCollectorPass.php Writes collected definitions to the container builder.
ThemeHooks::container function core/themes/admin/src/Hook/ThemeHooks.php Prerender callback for container elements.
ThemeNegotiatorTest::$container property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The container builder.
ThemePreprocess::preprocessContainer function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for container templates.
ThemeTestSubscriber::$container property core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php The used container.

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