function ProviderRepositoryInterface::getAll

Same name in other branches
  1. 8.9.x core/modules/media/src/OEmbed/ProviderRepositoryInterface.php \Drupal\media\OEmbed\ProviderRepositoryInterface::getAll()
  2. 10 core/modules/media/src/OEmbed/ProviderRepositoryInterface.php \Drupal\media\OEmbed\ProviderRepositoryInterface::getAll()
  3. 11.x 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();

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