Search for collect
- Search 7.x for collect
- Search 9.5.x for collect
- Search 8.9.x for collect
- Search 11.x for collect
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DefaultLazyPluginCollection | class | core/ |
Provides a default plugin collection for a plugin type. |
DefaultLazyPluginCollection.php | file | core/ |
|
DefaultLazyPluginCollection::$configurations | property | core/ |
The initial configuration for each plugin in the collection. |
DefaultLazyPluginCollection::$manager | property | core/ |
The manager used to instantiate the plugins. |
DefaultLazyPluginCollection::$originalOrder | property | core/ |
The original order of the instances. |
DefaultLazyPluginCollection::$pluginKey | property | core/ |
The key within the plugin configuration that contains the plugin ID. |
DefaultLazyPluginCollection::addInstanceId | function | core/ |
Adds an instance ID to the available instance IDs. |
DefaultLazyPluginCollection::getConfiguration | function | core/ |
Gets the current configuration of all plugins in this collection. |
DefaultLazyPluginCollection::initializePlugin | function | core/ |
Initializes and stores a plugin. |
DefaultLazyPluginCollection::removeInstanceId | function | core/ |
Removes an instance ID. |
DefaultLazyPluginCollection::setConfiguration | function | core/ |
Sets the configuration for all plugins in this collection. |
DefaultLazyPluginCollection::setInstanceConfiguration | function | core/ |
Updates the configuration for a plugin instance. |
DefaultLazyPluginCollection::sort | function | core/ |
Sorts all plugin instances in this collection. |
DefaultLazyPluginCollection::sortHelper | function | core/ |
Provides uasort() callback to sort plugins. |
DefaultLazyPluginCollection::__construct | function | core/ |
Constructs a new DefaultLazyPluginCollection object. |
DefaultLazyPluginCollectionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\DefaultLazyPluginCollection @group Plugin |
DefaultLazyPluginCollectionTest.php | file | core/ |
|
DefaultLazyPluginCollectionTest::$pluginInstances | property | core/ |
Stores all setup plugin instances. |
DefaultLazyPluginCollectionTest::getPluginMock | function | core/ |
Returns a mocked plugin object. |
DefaultLazyPluginCollectionTest::providerTestSortHelper | function | core/ |
Provides test data for testSortHelper. |
DefaultLazyPluginCollectionTest::testAddInstanceId | function | core/ |
@covers ::addInstanceId |
DefaultLazyPluginCollectionTest::testClear | function | core/ |
@covers ::clear |
DefaultLazyPluginCollectionTest::testConfigurableGetConfiguration | function | core/ |
@covers ::getConfiguration |
DefaultLazyPluginCollectionTest::testConfigurableInterface | function | core/ |
Tests that plugin methods are correctly attached to interfaces. |
DefaultLazyPluginCollectionTest::testConfigurableSetConfiguration | function | core/ |
@covers ::setConfiguration |
DefaultLazyPluginCollectionTest::testConfigurableSetConfigurationToNull | function | core/ |
@covers ::setConfiguration @group legacy |
DefaultLazyPluginCollectionTest::testCount | function | core/ |
@covers ::count |
DefaultLazyPluginCollectionTest::testGet | function | core/ |
@covers ::get |
DefaultLazyPluginCollectionTest::testGetConfiguration | function | core/ |
@covers ::getConfiguration |
DefaultLazyPluginCollectionTest::testGetNotExistingPlugin | function | core/ |
@covers ::get |
DefaultLazyPluginCollectionTest::testHas | function | core/ |
@covers ::has |
DefaultLazyPluginCollectionTest::testRemoveInstanceId | function | core/ |
@covers ::removeInstanceId |
DefaultLazyPluginCollectionTest::testSet | function | core/ |
@covers ::set |
DefaultLazyPluginCollectionTest::testSetInstanceConfiguration | function | core/ |
@covers ::setInstanceConfiguration |
DefaultLazyPluginCollectionTest::testSetInstanceConfigurationPluginChange | function | core/ |
Tests plugin instances are changed if the configuration plugin key changes. |
DefaultLazyPluginCollectionTest::testSortHelper | function | core/ |
@covers ::sortHelper @dataProvider providerTestSortHelper |
DefaultMenuLinkTreeManipulators::collectNodeLinks | function | core/ |
Collects the node links in the menu tree. |
DefaultSingleLazyPluginCollection | class | core/ |
Provides a default plugin collection for a plugin type. |
DefaultSingleLazyPluginCollection.php | file | core/ |
|
DefaultSingleLazyPluginCollection::$configuration | property | core/ |
An array of configuration to instantiate the plugin with. |
DefaultSingleLazyPluginCollection::$instanceId | property | core/ |
The instance ID used for this plugin collection. |
DefaultSingleLazyPluginCollection::$manager | property | core/ |
The manager used to instantiate the plugins. |
DefaultSingleLazyPluginCollection::addInstanceId | function | core/ |
Adds an instance ID to the available instance IDs. |
DefaultSingleLazyPluginCollection::getConfiguration | function | core/ |
Gets the current configuration of all plugins in this collection. |
DefaultSingleLazyPluginCollection::initializePlugin | function | core/ |
Initializes and stores a plugin. |
DefaultSingleLazyPluginCollection::setConfiguration | function | core/ |
Sets the configuration for all plugins in this collection. |
DefaultSingleLazyPluginCollection::__construct | function | core/ |
Constructs a new DefaultSingleLazyPluginCollection object. |
DefaultSingleLazyPluginCollectionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\DefaultSingleLazyPluginCollection @group Plugin |
DefaultSingleLazyPluginCollectionTest.php | file | core/ |
|
DefaultSingleLazyPluginCollectionTest::setupPluginCollection | function | core/ |
Sets up the default plugin collection. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.