public function Upload::defaultConfiguration in Media entity video 8
Same name and namespace in other branches
- 8.3 src/Plugin/EntityBrowser/Widget/Upload.php \Drupal\media_entity_video\Plugin\EntityBrowser\Widget\Upload::defaultConfiguration()
- 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\WidgetCode
public function defaultConfiguration() {
return [
'extensions' => 'mp4 webm ogg ogv',
'media bundle' => NULL,
] + parent::defaultConfiguration();
}