Search for collect

  1. Search 7.x for collect
  2. Search 9.5.x for collect
  3. Search 8.9.x for collect
  4. Search 10.3.x for collect
  5. Other projects
Title Object type File name Summary
LanguageConfigFactoryOverride::addCollections function core/modules/language/src/Config/LanguageConfigFactoryOverride.php Reacts to the ConfigCollectionEvents::COLLECTION_INFO event.
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.
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 The lazy route collection.
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.
LazyRouteCollectionTest class core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @coversDefaultClass \Drupal\Core\Routing\LazyRouteCollection[[api-linebreak]]
LazyRouteCollectionTest.php file core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php
LazyRouteCollectionTest::$routeProvider property core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php The route provider.
LazyRouteCollectionTest::$testRoutes property core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php Array of routes indexed by name.
LazyRouteCollectionTest::setUp function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php
LazyRouteCollectionTest::testCount function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @covers ::count[[api-linebreak]]
LazyRouteCollectionTest::testGetIterator function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @covers ::getIterator[[api-linebreak]]
@covers ::all[[api-linebreak]]
LazyRouteCollectionTest::testGetName function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php Search for a both an existing and a non-existing route.
library.discovery.collector service core/core.services.yml Drupal\Core\Asset\LibraryDiscoveryCollector
LibraryDiscovery::$collector property core/lib/Drupal/Core/Asset/LibraryDiscovery.php The library discovery cache collector.
LibraryDiscoveryCollector class core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php A CacheCollector implementation for building library extension info.
LibraryDiscoveryCollector.php file core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php
LibraryDiscoveryCollector::$discoveryParser property core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php The library discovery parser.

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