interface ComponentDiscoveryInterface in Decoupled Blocks 8
Defines the interface for services which discover front-end components.
Hierarchy
- interface \Drupal\pdb\ComponentDiscoveryInterface
Expanded class hierarchy of ComponentDiscoveryInterface
All classes that implement ComponentDiscoveryInterface
2 files declare their use of ComponentDiscoveryInterface
- PdbBlockDeriver.php in src/
Plugin/ Derivative/ PdbBlockDeriver.php - PdbBlockDeriverTest.php in tests/
src/ Unit/ Plugin/ Derivative/ PdbBlockDeriverTest.php
File
- src/
ComponentDiscoveryInterface.php, line 8
Namespace
Drupal\pdbView source
interface ComponentDiscoveryInterface {
/**
* Find all available front-end components.
*
* @return \Drupal\Core\Extension\Extension[]
* The discovered components.
*/
public function getComponents();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ComponentDiscoveryInterface:: |
public | function | Find all available front-end components. | 1 |