public function Endpoint::getFormats in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getFormats()
- 9 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;
}