OEmbedInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\media\Plugin\media\SourceFile
core/modules/media/src/Plugin/media/Source/OEmbedInterface.phpView source
<?php
namespace Drupal\media\Plugin\media\Source;
use Drupal\media\MediaSourceFieldConstraintsInterface;
/**
* Defines additional functionality for source plugins that use oEmbed.
*/
interface OEmbedInterface extends MediaSourceFieldConstraintsInterface {
/**
* 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 string[]
* A list of oEmbed provider names.
*/
public function getProviders();
}
Interfaces
Name | Description |
---|---|
OEmbedInterface | Defines additional functionality for source plugins that use oEmbed. |