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

Breadcrumb

  1. Drupal Core 11.1.x

DiscoverableInterface.php

Namespace

Drupal\Component\Discovery

File

core/lib/Drupal/Component/Discovery/DiscoverableInterface.php

View source
<?php

namespace Drupal\Component\Discovery;


/**
 * Interface for classes providing a type of discovery.
 */
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();

}

Interfaces

Title Deprecated Summary
DiscoverableInterface Interface for classes providing a type of discovery.

API Navigation

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