You are here

public function Upload::defaultConfiguration in Media entity video 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/EntityBrowser/Widget/Upload.php \Drupal\media_entity_video\Plugin\EntityBrowser\Widget\Upload::defaultConfiguration()
  2. 8.2 src/Plugin/EntityBrowser/Widget/Upload.php \Drupal\media_entity_video\Plugin\EntityBrowser\Widget\Upload::defaultConfiguration()

File

src/Plugin/EntityBrowser/Widget/Upload.php, line 24

Class

Upload
Uses upload to create media entity videos.

Namespace

Drupal\media_entity_video\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  return [
    'extensions' => 'mp4 webm ogg ogv',
    'media bundle' => NULL,
  ] + parent::defaultConfiguration();
}