You are here

public function DiscoverableInterface::findAll in Drupal 9

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

Returns an array of discoverable items.

Return value

array An array of discovered data keyed by provider.

Throws

\Drupal\Component\Discovery\DiscoveryException Exception thrown if there is a problem during discovery.

2 methods override DiscoverableInterface::findAll()
YamlDirectoryDiscovery::findAll in core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
Returns an array of discoverable items.
YamlDiscovery::findAll in core/lib/Drupal/Component/Discovery/YamlDiscovery.php
Returns an array of discoverable items.

File

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

Class

DiscoverableInterface
Interface for classes providing a type of discovery.

Namespace

Drupal\Component\Discovery

Code

public function findAll();