Search for discovery
- Search 7.x for discovery
- Search 9.5.x for discovery
- Search 8.9.x for discovery
- Search 11.x for discovery
- Search main for discovery
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DerivativeDiscoveryDecorator::$decorated | property | core/ |
The decorated plugin discovery. |
| DerivativeDiscoveryDecorator::$derivers | property | core/ |
Plugin derivers. |
| DerivativeDiscoveryDecorator::clearCachedDefinitions | function | core/ |
Clears static and persistent plugin definition caches. |
| DerivativeDiscoveryDecorator::decodePluginId | function | core/ |
Decodes derivative id and plugin id from a string. |
| DerivativeDiscoveryDecorator::encodePluginId | function | core/ |
Encodes plugin and derivative id's into a string. |
| DerivativeDiscoveryDecorator::getDefinition | function | core/ |
|
| DerivativeDiscoveryDecorator::getDefinitions | function | core/ |
|
| DerivativeDiscoveryDecorator::getDerivatives | function | core/ |
Adds derivatives to a list of plugin definitions. |
| DerivativeDiscoveryDecorator::getDeriver | function | core/ |
Gets a deriver for a base plugin. |
| DerivativeDiscoveryDecorator::getDeriverClass | function | core/ |
Gets the deriver class name from the base plugin definition. |
| DerivativeDiscoveryDecorator::mergeDerivativeDefinition | function | core/ |
Merges a base and derivative definition, taking into account empty values. |
| DerivativeDiscoveryDecorator::useCaches | function | core/ |
Disable the use of caches. |
| DerivativeDiscoveryDecorator::__call | function | core/ |
Passes through all unknown calls onto the decorated object. |
| DerivativeDiscoveryDecorator::__construct | function | core/ |
Creates a new instance. |
| DerivativeDiscoveryDecoratorTest | class | core/ |
Unit tests for the derivative discovery decorator. |
| DerivativeDiscoveryDecoratorTest.php | file | core/ |
|
| DerivativeDiscoveryDecoratorTest::$discoveryMain | property | core/ |
The mock main discovery object. |
| DerivativeDiscoveryDecoratorTest::setUp | function | core/ |
|
| DerivativeDiscoveryDecoratorTest::testExistingDerivative | function | core/ |
Tests derivative definitions when a definition already exists. |
| DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcher | function | core/ |
Tests the getDerivativeFetcher method. |
| DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcherWithAnnotationObjects | function | core/ |
Tests the getDerivativeFetcher method with objects instead of arrays. |
| DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithClassedDefinitions | function | core/ |
Tests getDeriverClass with classed objects instead of arrays. |
| DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithInvalidClassedDefinitions | function | core/ |
@covers ::getDeriverClass[[api-linebreak]] |
| DerivativeDiscoveryDecoratorTest::testInvalidDerivativeFetcher | function | core/ |
Tests the getDerivativeFetcher method with an invalid class. |
| DerivativeDiscoveryDecoratorTest::testNonExistentDerivativeFetcher | function | core/ |
Tests the getDerivativeFetcher method with a non-existent class. |
| DerivativeDiscoveryDecoratorTest::testSingleExistingDerivative | function | core/ |
Tests a single definition when a derivative already exists. |
| DirectoryWithMetadataDiscovery | class | core/ |
Does the actual finding of the directories with metadata files. |
| DirectoryWithMetadataDiscovery.php | file | core/ |
|
| DirectoryWithMetadataDiscovery::findProvider | function | core/ |
Finds the provider of the discovered file. |
| DirectoryWithMetadataDiscovery::getDirectoryIterator | function | core/ |
Gets an iterator to loop over the files in the provided directory. |
| DirectoryWithMetadataDiscovery::getIdentifier | function | core/ |
The IDs can collide in two different scenarios: |
| DirectoryWithMetadataDiscovery::__construct | function | core/ |
Constructs a DirectoryWithMetadataDiscovery object. |
| DirectoryWithMetadataPluginDiscovery | class | core/ |
Discover directories that contain a specific metadata file. |
| DirectoryWithMetadataPluginDiscovery.php | file | core/ |
|
| DirectoryWithMetadataPluginDiscovery::__construct | function | core/ |
Constructs a DirectoryWithMetadataPluginDiscovery object. |
| DiscoveryCachedTrait | trait | core/ |
|
| DiscoveryCachedTrait.php | file | core/ |
|
| DiscoveryCachedTrait::$definitions | property | core/ |
Cached definitions array. |
| DiscoveryCachedTrait::getDefinition | function | core/ |
|
| DiscoveryCachedTraitMockableClass | class | core/ |
A class using the DiscoveryCachedTrait for mocking purposes. |
| DiscoveryCachedTraitMockableClass::getDefinitions | function | core/ |
|
| DiscoveryCachedTraitTest | class | core/ |
@coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait[[api-linebreak]] @uses \Drupal\Component\Plugin\Discovery\DiscoveryTrait @group Plugin |
| DiscoveryCachedTraitTest.php | file | core/ |
|
| DiscoveryCachedTraitTest::providerGetDefinition | function | core/ |
Data provider for testGetDefinition(). |
| DiscoveryCachedTraitTest::testGetDefinition | function | core/ |
@covers ::getDefinition[[api-linebreak]] @dataProvider providerGetDefinition |
| DiscoveryException | class | core/ |
Exception thrown during discovery if the data is invalid. |
| DiscoveryException.php | file | core/ |
|
| DiscoveryInterface | interface | core/ |
Defines the minimum requirements for a plugin discovery component. |
| DiscoveryInterface.php | file | core/ |
|
| DiscoveryInterface::getDefinition | function | core/ |
Gets a specific plugin definition. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.