function Endpoint::getFormats
Same name in other branches
- 8.9.x core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getFormats()
- 10 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getFormats()
- 11.x core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getFormats()
Returns list of supported formats.
Return value
string[] List of formats.
File
-
core/
modules/ media/ src/ OEmbed/ Endpoint.php, line 128
Class
- Endpoint
- Value object for oEmbed provider endpoints.
Namespace
Drupal\media\OEmbedCode
public function getFormats() {
return $this->formats;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.