interface DiscoverableInterface

Same name in other branches
  1. 9 core/lib/Drupal/Component/Discovery/DiscoverableInterface.php \Drupal\Component\Discovery\DiscoverableInterface
  2. 8.9.x core/lib/Drupal/Component/Discovery/DiscoverableInterface.php \Drupal\Component\Discovery\DiscoverableInterface
  3. 10 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

Title Sort descending Modifiers Object type Summary Overrides
DiscoverableInterface::findAll public function Returns an array of discoverable items. 2

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.