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\WidgetCode
public function defaultConfiguration() {
return [
'extensions' => 'jpg jpeg png gif',
'media_bundle' => NULL,
] + parent::defaultConfiguration();
}