You are here

public function MediaFileUpload::defaultConfiguration in Panopoly 8.2

File

modules/panopoly/panopoly_media/src/Plugin/EntityBrowser/Widget/MediaFileUpload.php, line 25

Class

MediaFileUpload
Uses upload to create media images.

Namespace

Drupal\panopoly_media\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  return [
    'extensions' => 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages',
    'media_type' => NULL,
  ] + parent::defaultConfiguration();
}