function DiscoverableInterface::findAll

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

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