function 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.