Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DiscoverableInterface.php

interface 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\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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal