Endpoint::$formats

Same name in other branches
  1. 9 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
  2. 8.9.x core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
  3. 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

https://oembed.com/#section2

File

core/modules/media/src/OEmbed/Endpoint.php, line 44

Class

Endpoint
Value object for oEmbed provider endpoints.

Namespace

Drupal\media\OEmbed

Code

protected $formats;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.