Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
LazyContextRepository::getAvailableContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Gets all available contexts for the purposes of configuration.
LazyContextRepository::getRuntimeContexts function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Gets runtime context values for the given context IDs.
LazyContextRepository::__construct function core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Constructs a LazyContextRepository object.
LazyContextRepositoryTest class core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\LazyContextRepository[[api-linebreak]]
@group context
LazyContextRepositoryTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
LazyContextRepositoryTest::$container property core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php The container.
LazyContextRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
LazyContextRepositoryTest::setupContextAndProvider function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Sets up contexts and context providers.
LazyContextRepositoryTest::testGetAvailableContexts function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getAvailableContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeContextsSingle function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testGetRuntimeStaticCache function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyContextRepositoryTest::testInvalidContextId function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @covers ::getRuntimeContexts[[api-linebreak]]
LazyPluginCollection class core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Defines an object which stores multiple plugin instances to lazy load them.
LazyPluginCollection.php file core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
LazyPluginCollection::$instanceIds property core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Stores the IDs of all potential plugin instances.
LazyPluginCollection::$pluginInstances property core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Stores all instantiated plugins.
LazyPluginCollection::addInstanceId function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Adds an instance ID to the available instance IDs.
LazyPluginCollection::clear function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Clears all instantiated plugins.
LazyPluginCollection::count function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php #[\ReturnTypeWillChange]
LazyPluginCollection::get function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Gets a plugin instance, initializing it if necessary.
LazyPluginCollection::getConfiguration function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Gets the current configuration of all plugins in this collection.
LazyPluginCollection::getInstanceIds function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Gets all instance IDs.
LazyPluginCollection::getIterator function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php #[\ReturnTypeWillChange]
LazyPluginCollection::has function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Determines if a plugin instance exists.
LazyPluginCollection::initializePlugin function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Initializes and stores a plugin.
LazyPluginCollection::remove function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Removes an initialized plugin.
LazyPluginCollection::removeInstanceId function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Removes an instance ID.
LazyPluginCollection::set function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Stores an initialized plugin.
LazyPluginCollection::setConfiguration function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Sets the configuration for all plugins in this collection.
LazyPluginCollectionTestBase class core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Provides a base class for plugin collection tests.
LazyPluginCollectionTestBase.php file core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
LazyPluginCollectionTestBase::$config property core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Contains the plugin configuration.
LazyPluginCollectionTestBase::$defaultPluginCollection property core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php The tested plugin collection.
LazyPluginCollectionTestBase::$pluginInstances property core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Stores all setup plugin instances.
LazyPluginCollectionTestBase::$pluginManager property core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php The mocked plugin manager.
LazyPluginCollectionTestBase::getPluginDefinitions function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Returns some example plugin definitions.
LazyPluginCollectionTestBase::getPluginMock function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Returns a mocked plugin object.
LazyPluginCollectionTestBase::returnPluginMap function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Return callback for createInstance.
LazyPluginCollectionTestBase::setUp function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
LazyPluginCollectionTestBase::setupPluginCollection function core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php Sets up the default plugin collection.
LazyRouteCollection class core/lib/Drupal/Core/Routing/LazyRouteCollection.php
LazyRouteCollection.php file core/lib/Drupal/Core/Routing/LazyRouteCollection.php
LazyRouteCollection::$provider property core/lib/Drupal/Core/Routing/LazyRouteCollection.php The route provider for this generator.
LazyRouteCollection::all function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Returns all routes in this collection.
LazyRouteCollection::count function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Gets the number of Routes in this collection.
LazyRouteCollection::get function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Gets a route by name.
LazyRouteCollection::getIterator function core/lib/Drupal/Core/Routing/LazyRouteCollection.php
LazyRouteCollection::__construct function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Constructs a LazyRouteCollection.

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