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 11.x for all
  6. Other projects
Title Object type File name Summary
LazyBuilderPlaceholderTest::lazyBuilderCallback function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Lazy builder callback.
LazyBuilderPlaceholderTest::setUp function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php
LazyBuilderPlaceholderTest::testNestedLazyBuilderPlaceholders function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Tests Fiber::suspend() during twig rendering via placeholders.
LazyBuilderPlaceholderTest::twigFiberSuspendLazyBuilderCallback function core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php Lazy builder callback with test template.
LazyBuilders class core/modules/announcements_feed/src/LazyBuilders.php Defines a class for lazy building render arrays.
LazyBuilders.php file core/modules/announcements_feed/src/LazyBuilders.php
LazyBuilders::renderAnnouncements function core/modules/announcements_feed/src/LazyBuilders.php Render announcements.
LazyBuilders::trustedCallbacks function core/modules/announcements_feed/src/LazyBuilders.php Lists the trusted callbacks provided by the implementing class.
LazyBuilders::__construct function core/modules/announcements_feed/src/LazyBuilders.php Constructs LazyBuilders object.
LazyContextRepository class core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php Provides a context repository which uses context provider services.
LazyContextRepository.php file core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php
LazyContextRepository::$container property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The service container.
LazyContextRepository::$contextProviderServiceIDs property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The set of available context providers service IDs.
LazyContextRepository::$contexts property core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php The statically cached contexts.
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 Tests Drupal\Core\Plugin\Context\LazyContextRepository.
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 Tests get available contexts.
LazyContextRepositoryTest::testGetRuntimeContextsSingle function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get runtime contexts single.
LazyContextRepositoryTest::testGetRuntimeMultipleContextProviders function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get runtime multiple context providers.
LazyContextRepositoryTest::testGetRuntimeMultipleContextsPerService function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get runtime multiple contexts per service.
LazyContextRepositoryTest::testGetRuntimeStaticCache function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests get runtime static cache.
LazyContextRepositoryTest::testInvalidContextId function core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php Tests invalid context id.
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
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
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.

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