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
MockService::setContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Sets the container object.
ModuleInstaller::$container property core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php The service container.
ModuleRequiredByThemesUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php The service container.
node-preview-container.css file core/themes/olivero/css/components/node-preview-container.css Node preview container styling.
node-preview-container.pcss.css file core/themes/olivero/css/components/node-preview-container.pcss.css Node preview container styling.
NodePreviewConverter::$container property core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php The service container.
OptimizedPhpArrayDumperTest::$containerBuilder property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php The container builder instance.
OptimizedPhpArrayDumperTest::$containerDefinition property core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php The definition for the container to build in tests.
OptimizedPhpArrayDumperTest::testDumpForEmptyContainer function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that an empty container works properly.
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/themes/stable/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::$serviceContainer property core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php The service container.
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 @runTestsInSeparateProcesses
The reverse container uses a static to maintain information across
container rebuilds.
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
ReverseContainerTest::testRecordContainerStringService function core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @covers ::recordContainer
@group legacy
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

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