You are here

public function Upload::defaultConfiguration in Media entity image 8

File

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

Class

Upload
Uses upload to create media entity images.

Namespace

Drupal\media_entity_image\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  return [
    'extensions' => 'jpg jpeg png gif',
    'media_bundle' => NULL,
  ] + parent::defaultConfiguration();
}