Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ContainerFactory class core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Plugin factory which passes a container to a create method.
ContainerFactory.php file core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php
ContainerFactory::createInstance function core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Creates a plugin instance based on the provided ID and configuration.
ContainerFactoryPluginInterface interface core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Defines an interface for pulling plugin dependencies from the container.
ContainerFactoryPluginInterface.php file core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php
ContainerFactoryPluginInterface::create function core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Creates an instance of the plugin.
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::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 The service provider for testing container rebuilds.
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 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/Component/DependencyInjection/ContainerTest.php Tests Drupal\Component\DependencyInjection\Container.
ContainerTest class core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php Tests Drupal\Core\DependencyInjection\Container.
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.

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