Endpoint::$formats
Same name in other branches
- 9 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
- 8.9.x core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
- 10 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
List of supported formats. Only 'json' and 'xml' are allowed.
Type: string[]
See also
File
-
core/
modules/ media/ src/ OEmbed/ Endpoint.php, line 44
Class
- Endpoint
- Value object for oEmbed provider endpoints.
Namespace
Drupal\media\OEmbedCode
protected $formats;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.