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.
Container class ./Container.php Provides a render element that wraps child elements in a container.

All search results

Title Object type File name Summary
ContainerRebuildWebTest.php file core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
ContainerRebuildWebTest::$defaultTheme property core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php The theme to install as the default for testing.
ContainerRebuildWebTest::$modules property core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Modules to install.
ContainerRebuildWebTest::testContainerInvalidation function core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Tests container invalidation.
ContainerRebuildWebTest::testSetContainerRebuildWithDifferentDeploymentIdentifier function core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Sets a different deployment identifier.
ContainerResetWebTest class core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php Ensures that the container rebuild works as expected.
ContainerResetWebTest.php file core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php
ContainerResetWebTest::$defaultTheme property core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php The theme to install as the default for testing.
ContainerResetWebTest::$modules property core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php Modules to install.
ContainerResetWebTest::setUp function core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php
ContainerResetWebTest::testContainerRebuild function core/modules/system/tests/src/Functional/DrupalKernel/ContainerResetWebTest.php Sets a different deployment identifier.
ContainerTest class core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php @coversDefaultClass \Drupal\Core\DependencyInjection\Container
@group DependencyInjection
ContainerTest class core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @coversDefaultClass \Drupal\Component\DependencyInjection\Container
@group DependencyInjection
ContainerTest.php file core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php
ContainerTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
ContainerTest::$container property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php The tested container.
ContainerTest::$containerClass property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php The container class to be tested.
ContainerTest::$containerDefinition property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php The container definition used for the test.
ContainerTest::$machineFormat property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Whether the container uses the machine-optimized format or not.
ContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a machine-optimized collection.
ContainerTest::getIterator function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service iterator.
ContainerTest::getMockContainerDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets a mock container definition.
ContainerTest::getParameterCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a parameter definition.
ContainerTest::getPrivateServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a private service definition.
ContainerTest::getRaw function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a raw value definition.
ContainerTest::getServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service definition.
ContainerTest::getServiceClosureCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service closure definition.
ContainerTest::setUp function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
ContainerTest::testConstruct function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that passing a non-supported format throws an InvalidArgumentException.
ContainerTest::testGet function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() works properly.
ContainerTest::testGetForAliasedService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for aliased services works properly.
ContainerTest::testGetForCircularServices function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for circular dependencies works properly.
@covers ::get
@covers ::createService
ContainerTest::testGetForClassFromParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() works properly for class from parameters.
ContainerTest::testGetForConfigurator function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for configurable services works.
ContainerTest::testGetForConfiguratorWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for configurable services throws an Exception.
ContainerTest::testGetForFactoryClass function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for factories via class works (Symfony 2.7.0).
ContainerTest::testGetForFactoryService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests Container::get() for factories via services (Symfony 2.7.0).
ContainerTest::testGetForInstantiationWithVariousArgumentLengths function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for various arguments lengths works.
ContainerTest::testGetForNonExistentNULLService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for NULL service works properly.
@covers ::get
@covers ::createService
ContainerTest::testGetForNonExistentParameterDependency function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent parameters works properly.
ContainerTest::testGetForNonExistentParameterDependencyWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent parameters works properly.
ContainerTest::testGetForNonExistentService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent services works properly.
ContainerTest::testGetForNonExistentServiceDependency function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent dependencies works properly.
ContainerTest::testGetForNonExistentServiceDependencyWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent dependencies works properly.
ContainerTest::testGetForNonExistentServiceMultipleTimes function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests multiple Container::get() calls for non-existing dependencies work.
ContainerTest::testGetForNonExistentServiceWhenUsingNull function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent services works properly.
ContainerTest::testGetForNonExistentServiceWithExceptionOnSecondCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests multiple Container::get() calls with exception on the second time.
ContainerTest::testGetForNonSharedService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-shared services works properly.
ContainerTest::testGetForParameterDependencyWithExceptionOnSecondCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests Container::get() with an exception due to missing parameter on the second call.
ContainerTest::testGetForSerializedServiceDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for a serialized definition works properly.

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