Search for discovery
- Search 7.x for discovery
- Search 8.9.x for discovery
- Search 10.3.x for discovery
- Search 11.x for discovery
- Search main for discovery
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| YamlDirectoryDiscovery::findFiles | function | core/ |
Returns an array of providers keyed by file path. |
| YamlDirectoryDiscovery::getDirectoryIterator | function | core/ |
Gets an iterator to loop over the files in the provided directory. |
| YamlDirectoryDiscovery::getIdentifier | function | core/ |
Gets the identifier from the data. |
| YamlDirectoryDiscovery::__construct | function | core/ |
Constructs a YamlDirectoryDiscovery object. |
| YamlDirectoryDiscovery::__construct | function | core/ |
Constructs a YamlDirectoryDiscovery object. |
| YamlDirectoryDiscoveryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Discovery\YamlDirectoryDiscovery[[api-linebreak]] |
| YamlDirectoryDiscoveryTest | class | core/ |
YamlDirectoryDiscoveryTest component unit tests. |
| YamlDirectoryDiscoveryTest.php | file | core/ |
|
| YamlDirectoryDiscoveryTest.php | file | core/ |
|
| YamlDirectoryDiscoveryTest::setUp | function | core/ |
|
| YamlDirectoryDiscoveryTest::testDiscovery | function | core/ |
Tests YAML directory discovery. |
| YamlDirectoryDiscoveryTest::testDiscoveryAlternateId | function | core/ |
Tests YAML directory discovery with an alternate ID key. |
| YamlDirectoryDiscoveryTest::testDiscoveryInvalidYamlException | function | core/ |
Tests YAML directory discovery with invalid YAML. |
| YamlDirectoryDiscoveryTest::testDiscoveryNoIdException | function | core/ |
Tests YAML directory discovery with a missing ID key. |
| YamlDirectoryDiscoveryTest::testGetDefinitions | function | core/ |
@covers ::getDefinitions[[api-linebreak]] |
| YamlDirectoryDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions | function | core/ |
@covers ::getDefinitions[[api-linebreak]] |
| YamlDiscovery | class | core/ |
Provides discovery for YAML files within a given set of directories. |
| YamlDiscovery | class | core/ |
Allows YAML files to define plugin definitions. |
| YamlDiscovery | class | core/ |
Provides discovery for YAML files within a given set of directories. |
| YamlDiscovery.php | file | core/ |
|
| YamlDiscovery.php | file | core/ |
|
| YamlDiscovery.php | file | core/ |
|
| YamlDiscovery::$directories | property | core/ |
An array of directories to scan, keyed by the provider. |
| YamlDiscovery::$discovery | property | core/ |
YAML file discovery and parsing handler. |
| YamlDiscovery::$name | property | core/ |
The base filename to look for in each directory. |
| YamlDiscovery::$translatableProperties | property | core/ |
Contains an array of translatable properties passed along to t(). |
| YamlDiscovery::addTranslatableProperty | function | core/ |
Set one of the YAML values as being translatable. |
| YamlDiscovery::decode | function | core/ |
Decode a YAML file. |
| YamlDiscovery::decode | function | core/ |
Decode a YAML file. |
| YamlDiscovery::findAll | function | core/ |
Returns an array of discoverable items. |
| YamlDiscovery::findFiles | function | core/ |
Returns an array of file paths, keyed by provider. |
| YamlDiscovery::getDefinitions | function | core/ |
Gets the definition of all plugins for this type. |
| YamlDiscovery::__construct | function | core/ |
Construct a YamlDiscovery object. |
| YamlDiscovery::__construct | function | core/ |
Constructs a YamlDiscovery object. |
| YamlDiscoveryDecorator | class | core/ |
Enables YAML discovery for plugin definitions. |
| YamlDiscoveryDecorator.php | file | core/ |
|
| YamlDiscoveryDecorator::$decorated | property | core/ |
The Discovery object being decorated. |
| YamlDiscoveryDecorator::getDefinitions | function | core/ |
Gets the definition of all plugins for this type. |
| YamlDiscoveryDecorator::__call | function | core/ |
Passes through all unknown calls onto the decorated object. |
| YamlDiscoveryDecorator::__construct | function | core/ |
Constructs a YamlDiscoveryDecorator object. |
| YamlDiscoveryDecoratorTest | class | core/ |
YamlDiscoveryDecorator unit tests. |
| YamlDiscoveryDecoratorTest.php | file | core/ |
|
| YamlDiscoveryDecoratorTest::$discoveryDecorator | property | core/ |
The YamlDiscovery instance to test. |
| YamlDiscoveryDecoratorTest::$expectedKeys | property | core/ |
Expected provider => key mappings for testing. |
| YamlDiscoveryDecoratorTest::setUp | function | core/ |
|
| YamlDiscoveryDecoratorTest::testGetDefinitions | function | core/ |
Tests the getDefinitions() method. |
| YamlDiscoveryTest | class | core/ |
YamlDiscovery component unit tests. |
| YamlDiscoveryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Discovery\YamlDiscovery[[api-linebreak]] @group Plugin |
| YamlDiscoveryTest | class | core/ |
YamlDiscovery component unit tests. |
| YamlDiscoveryTest.php | file | core/ |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.