You are here

public function ProviderRepositoryInterface::getAll in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/src/OEmbed/ProviderRepositoryInterface.php \Drupal\media\OEmbed\ProviderRepositoryInterface::getAll()

Returns information on all available oEmbed providers.

Return value

\Drupal\media\OEmbed\Provider[] Returns an array of provider value objects, keyed by provider name.

Throws

\Drupal\media\OEmbed\ProviderException If the oEmbed provider information cannot be retrieved.

1 method overrides ProviderRepositoryInterface::getAll()
ProviderRepository::getAll in core/modules/media/src/OEmbed/ProviderRepository.php
Returns information on all available oEmbed providers.

File

core/modules/media/src/OEmbed/ProviderRepositoryInterface.php, line 24

Class

ProviderRepositoryInterface
Defines an interface for a collection of oEmbed provider information.

Namespace

Drupal\media\OEmbed

Code

public function getAll();