You are here

public function OEmbedInterface::getProviders in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/src/Plugin/media/Source/OEmbedInterface.php \Drupal\media\Plugin\media\Source\OEmbedInterface::getProviders()

Returns the oEmbed provider names.

The allowed providers can be configured by the user. If it is not configured, all providers supported by the plugin are returned.

Return value

string[] A list of oEmbed provider names.

1 method overrides OEmbedInterface::getProviders()
OEmbed::getProviders in core/modules/media/src/Plugin/media/Source/OEmbed.php
Returns the oEmbed provider names.

File

core/modules/media/src/Plugin/media/Source/OEmbedInterface.php, line 21

Class

OEmbedInterface
Defines additional functionality for source plugins that use oEmbed.

Namespace

Drupal\media\Plugin\media\Source

Code

public function getProviders();