Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 11.x for on
  5. Other projects
Title Object type File name Summary
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 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[[api-linebreak]]
@group DependencyInjection
ContainerTest class core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @coversDefaultClass \Drupal\Component\DependencyInjection\Container[[api-linebreak]]
@group DependencyInjection
ContainerTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php
ContainerTest.php file core/tests/Drupal/Tests/Core/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[[api-linebreak]]
@covers ::createService[[api-linebreak]]
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).

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