You are here

protected property MediaTypeGuesser::$defaultMediaTypes in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/MediaTypeGuesser.php \Drupal\gutenberg\MediaTypeGuesser::defaultMediaTypes

Contains array of default media types.

Type: array

File

src/MediaTypeGuesser.php, line 19

Class

MediaTypeGuesser
Guesses media type of the file.

Namespace

Drupal\gutenberg

Code

protected $defaultMediaTypes = [
  'image',
  'audio',
  'video',
  'remote_video',
  'file',
];