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
ContainerFactoryPluginInterface::create function core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Creates an instance of the plugin.
ContainerForm class core/modules/forum/src/Form/ContainerForm.php Base form for container term edit forms.
ContainerForm.php file core/modules/forum/src/Form/ContainerForm.php
ContainerForm::$urlStub property core/modules/forum/src/Form/ContainerForm.php Reusable URL stub to use in watchdog messages.
ContainerForm::buildEntity function core/modules/forum/src/Form/ContainerForm.php Builds an updated entity object based upon the submitted form values.
ContainerForm::form function core/modules/forum/src/Form/ContainerForm.php Gets the actual form array to be built.
ContainerInjectionInterface interface core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php Defines a common interface for dependency container injection.
ContainerInjectionInterface.php file core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php
ContainerInjectionInterface::create function core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php Instantiates a new instance of this class.
ContainerInterface interface core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php The interface for Drupal service container classes.
ContainerInterface.php file core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php
ContainerInterface::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Generate a unique hash for a service object.
ContainerInterface::getServiceIdMappings function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Collect a mapping between service to ids.
ContainerInterface::getServiceIds function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Gets all defined service IDs.
ContainerNotInitializedException class core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php Exception, thrown when a method is called on a non-initialized container.
ContainerNotInitializedException.php file core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php
ContainerRebuildTestServiceProvider class core/modules/system/tests/modules/container_rebuild_test/src/ContainerRebuildTestServiceProvider.php
ContainerRebuildTestServiceProvider.php file core/modules/system/tests/modules/container_rebuild_test/src/ContainerRebuildTestServiceProvider.php
ContainerRebuildTestServiceProvider::alter function core/modules/system/tests/modules/container_rebuild_test/src/ContainerRebuildTestServiceProvider.php Modifies existing service definitions.
ContainerRebuildWebTest class core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Ensures that the container rebuild works as expected.
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 enable.
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.
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 Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
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::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::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.

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