Search for collect

  1. Search 7.x for collect
  2. Search 9.5.x for collect
  3. Search 10.3.x for collect
  4. Search 11.x for collect
  5. Other projects
Title Object type File name Summary
DefaultLazyPluginCollection.php file core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php
DefaultLazyPluginCollection::$configurations property core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php The initial configuration for each plugin in the collection.
DefaultLazyPluginCollection::$manager property core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php The manager used to instantiate the plugins.
DefaultLazyPluginCollection::$originalOrder property core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php The original order of the instances.
DefaultLazyPluginCollection::$pluginKey property core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php The key within the plugin configuration that contains the plugin ID.
DefaultLazyPluginCollection::addInstanceId function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Adds an instance ID to the available instance IDs.
DefaultLazyPluginCollection::getConfiguration function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Gets the current configuration of all plugins in this collection.
DefaultLazyPluginCollection::initializePlugin function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Initializes and stores a plugin.
DefaultLazyPluginCollection::removeInstanceId function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Removes an instance ID.
DefaultLazyPluginCollection::setConfiguration function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Sets the configuration for all plugins in this collection.
DefaultLazyPluginCollection::setInstanceConfiguration function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Updates the configuration for a plugin instance.
DefaultLazyPluginCollection::sort function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Sorts all plugin instances in this collection.
DefaultLazyPluginCollection::sortHelper function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Provides uasort() callback to sort plugins.
DefaultLazyPluginCollection::__construct function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Constructs a new DefaultLazyPluginCollection object.
DefaultLazyPluginCollectionTest class core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @coversDefaultClass \Drupal\Core\Plugin\DefaultLazyPluginCollection
@group Plugin
DefaultLazyPluginCollectionTest.php file core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
DefaultLazyPluginCollectionTest::$pluginInstances property core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Stores all setup plugin instances.
DefaultLazyPluginCollectionTest::getPluginMock function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Returns a mocked plugin object.
DefaultLazyPluginCollectionTest::providerTestSortHelper function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Provides test data for testSortHelper.
DefaultLazyPluginCollectionTest::testAddInstanceId function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::addInstanceId
DefaultLazyPluginCollectionTest::testClear function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::clear
DefaultLazyPluginCollectionTest::testConfigurableGetConfiguration function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::getConfiguration
DefaultLazyPluginCollectionTest::testConfigurableInterface function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Tests that plugin methods are correctly attached to interfaces.
DefaultLazyPluginCollectionTest::testConfigurableSetConfiguration function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::setConfiguration
DefaultLazyPluginCollectionTest::testCount function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::count
DefaultLazyPluginCollectionTest::testGet function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::get
DefaultLazyPluginCollectionTest::testGetConfiguration function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::getConfiguration
DefaultLazyPluginCollectionTest::testGetNotExistingPlugin function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::get
DefaultLazyPluginCollectionTest::testHas function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::has
DefaultLazyPluginCollectionTest::testRemoveInstanceId function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::removeInstanceId
DefaultLazyPluginCollectionTest::testSet function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::set
DefaultLazyPluginCollectionTest::testSetInstanceConfiguration function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::setInstanceConfiguration
DefaultLazyPluginCollectionTest::testSortHelper function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::sortHelper
@dataProvider providerTestSortHelper
DefaultMenuLinkTreeManipulators::collectNodeLinks function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Collects the node links in the menu tree.
DefaultSingleLazyPluginCollection class core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Provides a default plugin collection for a plugin type.
DefaultSingleLazyPluginCollection.php file core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php
DefaultSingleLazyPluginCollection::$configuration property core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php An array of configuration to instantiate the plugin with.
DefaultSingleLazyPluginCollection::$instanceId property core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php The instance ID used for this plugin collection.
DefaultSingleLazyPluginCollection::$manager property core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php The manager used to instantiate the plugins.
DefaultSingleLazyPluginCollection::addInstanceId function core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Adds an instance ID to the available instance IDs.
DefaultSingleLazyPluginCollection::getConfiguration function core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Gets the current configuration of all plugins in this collection.
DefaultSingleLazyPluginCollection::initializePlugin function core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Initializes and stores a plugin.
DefaultSingleLazyPluginCollection::setConfiguration function core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Sets the configuration for all plugins in this collection.
DefaultSingleLazyPluginCollection::__construct function core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php Constructs a new DefaultSingleLazyPluginCollection object.
DefaultSingleLazyPluginCollectionTest class core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php @coversDefaultClass \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection
@group Plugin
DefaultSingleLazyPluginCollectionTest.php file core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php
DefaultSingleLazyPluginCollectionTest::setupPluginCollection function core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php Sets up the default plugin collection.
DefaultSingleLazyPluginCollectionTest::testAddInstanceId function core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php @covers ::addInstanceId
@covers ::getConfiguration
@covers ::setConfiguration
DefaultSingleLazyPluginCollectionTest::testGet function core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php Tests the get() method.
DefaultSingleLazyPluginCollectionTest::testGetInstanceIds function core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php @covers ::getInstanceIds

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