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.

All search results

Title Object type File name Summary
PathPluginBaseTest::setupContainer function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Setup access plugin manager and config factory in the Drupal class.
PermissionAccessCheckTest::$container property core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php The dependency injection container.
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 @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer
@group DependencyInjection
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;
}
position-container.module.css file core/modules/system/css/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 @covers ::process
ProxyServicesPassTest::testContainerWithLazyServicesWithoutProxyClass function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @covers ::process
ProxyServicesPassTest::testContainerWithoutLazyServices function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @covers ::process
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'.
RequiredModuleUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php The service 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 @covers ::getId
ReverseContainerTest::testRecordContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @covers ::recordContainer
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.
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::$container property core/lib/Drupal/Core/Test/TestSetupTrait.php The dependency injection container used in the test.
ThemeNegotiatorTest::$container property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The container builder.
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.