interface DiscoverableInterface in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Discovery/DiscoverableInterface.php \Drupal\Component\Discovery\DiscoverableInterface
Interface for classes providing a type of discovery.
Hierarchy
- interface \Drupal\Component\Discovery\DiscoverableInterface
Expanded class hierarchy of DiscoverableInterface
All classes that implement DiscoverableInterface
File
- core/
lib/ Drupal/ Component/ Discovery/ DiscoverableInterface.php, line 8
Namespace
Drupal\Component\DiscoveryView source
interface DiscoverableInterface {
/**
* Returns an array of discoverable items.
*
* @return array
* An array of discovered data keyed by provider.
*
* @throws \Drupal\Component\Discovery\DiscoveryException
* Exception thrown if there is a problem during discovery.
*/
public function findAll();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoverableInterface:: |
public | function | Returns an array of discoverable items. | 2 |