You are here

interface DiscoverableInterface in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Discovery/DiscoverableInterface.php \Drupal\Component\Discovery\DiscoverableInterface

Interface for classes providing a type of discovery.

Hierarchy

Expanded class hierarchy of DiscoverableInterface

All classes that implement DiscoverableInterface

File

core/lib/Drupal/Component/Discovery/DiscoverableInterface.php, line 8

Namespace

Drupal\Component\Discovery
View 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

Namesort descending Modifiers Type Description Overrides
DiscoverableInterface::findAll public function Returns an array of discoverable items. 2