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 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 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
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.
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/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.

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