You are here

protected property Endpoint::$formats in Drupal 8

Same name and namespace in other branches
  1. 9 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;