function OEmbedInterface::getProviders
Same name in other branches
- 9 core/modules/media/src/Plugin/media/Source/OEmbedInterface.php \Drupal\media\Plugin\media\Source\OEmbedInterface::getProviders()
- 8.9.x core/modules/media/src/Plugin/media/Source/OEmbedInterface.php \Drupal\media\Plugin\media\Source\OEmbedInterface::getProviders()
- 10 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\SourceCode
public function getProviders();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.