You are here

protected property Endpoint::$formats in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::formats
  2. 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;