Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / media / src / Plugin / media / Source / OEmbedInterface.php
1 <?php
2
3 namespace Drupal\media\Plugin\media\Source;
4
5 use Drupal\media\MediaSourceFieldConstraintsInterface;
6
7 /**
8  * Defines additional functionality for source plugins that use oEmbed.
9  */
10 interface OEmbedInterface extends MediaSourceFieldConstraintsInterface {
11
12   /**
13    * Returns the oEmbed provider names.
14    *
15    * The allowed providers can be configured by the user. If it is not
16    * configured, all providers supported by the plugin are returned.
17    *
18    * @return string[]
19    *   A list of oEmbed provider names.
20    */
21   public function getProviders();
22
23 }