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
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 @covers ::process[[api-linebreak]]
ProxyServicesPassTest::testContainerWithLazyServicesWithoutProxyClass function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @covers ::process[[api-linebreak]]
ProxyServicesPassTest::testContainerWithoutLazyServices function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @covers ::process[[api-linebreak]]
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 @legacy-covers ::getId
ReverseContainerTest::testRecordContainer function core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @legacy-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.
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.
UncaughtExceptionTest::testErrorContainer function core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php Tests a container which has an error.
UncaughtExceptionTest::testExceptionContainer function core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php Tests a container which has an exception really early.
UnitTestCase::getContainerWithCacheTagsInvalidator function core/tests/Drupal/Tests/UnitTestCase.php Sets up a container with a cache tags invalidator.
UpdateKernel::cacheDrupalContainer function core/lib/Drupal/Core/Update/UpdateKernel.php Stores the container definition in a cache.
UpdateKernel::initializeContainer function core/lib/Drupal/Core/Update/UpdateKernel.php Initializes the service container.
UpdateMailTest::$container property core/modules/update/tests/src/Unit/UpdateMailTest.php The container.
UrlTest::$container property core/tests/Drupal/Tests/Core/UrlTest.php
views-ui-container.html.twig file core/themes/stable9/templates/admin/views-ui-container.html.twig Theme override for a generic views UI container/wrapper.
views-ui-container.html.twig file core/modules/views_ui/templates/views-ui-container.html.twig Default theme implementation for a generic views UI container/wrapper.
ViewsHooks::themeSuggestionsContainerAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_theme_suggestions_HOOK_alter().

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