3 namespace Drupal\media\Plugin\media\Source;
5 use Drupal\media\MediaSourceFieldConstraintsInterface;
8 * Defines additional functionality for source plugins that use oEmbed.
10 interface OEmbedInterface extends MediaSourceFieldConstraintsInterface {
13 * Returns the oEmbed provider names.
15 * The allowed providers can be configured by the user. If it is not
16 * configured, all providers supported by the plugin are returned.
19 * A list of oEmbed provider names.
21 public function getProviders();