DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a missing class definition. |
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a missing class definition. |
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a non-existent class definition. |
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a non-existent class definition. |
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a valid array plugin definition. |
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition |
function |
core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php |
Tests getPluginClass() with a valid object plugin definition. |
DefaultLazyPluginCollection |
class |
core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php |
Provides a default plugin collection for a plugin type. |
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 |
Tests Drupal\Core\Plugin\DefaultLazyPluginCollection. |
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 |
Tests add instance id. |
DefaultLazyPluginCollectionTest::testClear |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests clear. |
DefaultLazyPluginCollectionTest::testConfigurableGetConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests configurable get configuration. |
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 |
Tests configurable set configuration. |
DefaultLazyPluginCollectionTest::testCount |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests count. |
DefaultLazyPluginCollectionTest::testGet |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests get. |
DefaultLazyPluginCollectionTest::testGetConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests get configuration. |
DefaultLazyPluginCollectionTest::testGetNotExistingPlugin |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests get not existing plugin. |
DefaultLazyPluginCollectionTest::testHas |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests has. |
DefaultLazyPluginCollectionTest::testRemoveInstanceId |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests remove instance id. |
DefaultLazyPluginCollectionTest::testSet |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests set. |
DefaultLazyPluginCollectionTest::testSetInstanceConfiguration |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests set instance configuration. |
DefaultLazyPluginCollectionTest::testSetInstanceConfigurationPluginChange |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests plugin instances are changed if the configuration plugin key changes. |
DefaultLazyPluginCollectionTest::testSortHelper |
function |
core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php |
Tests sort helper. |
DefaultPluginManager |
class |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Base class for plugin managers. |
DefaultPluginManager.php |
file |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
|
DefaultPluginManager::$additionalAnnotationNamespaces |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Additional annotation namespaces. |
DefaultPluginManager::$alterHook |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
Name of the alter hook if one should be invoked. |
DefaultPluginManager::$cacheKey |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The cache key. |
DefaultPluginManager::$cacheTags |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
An array of cache tags to use for the cached definitions. |
DefaultPluginManager::$defaults |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
A set of defaults to be referenced by $this->processDefinition(). |
DefaultPluginManager::$moduleExtensionList |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The module extension list. |
DefaultPluginManager::$moduleHandler |
property |
core/lib/Drupal/Core/Plugin/DefaultPluginManager.php |
The module handler to invoke the alter hook. |