public function BynderUpload::defaultConfiguration in Bynder 8.3
Same name and namespace in other branches
- 8 src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::defaultConfiguration()
- 8.2 src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::defaultConfiguration()
- 4.0.x src/Plugin/EntityBrowser/Widget/BynderUpload.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderUpload::defaultConfiguration()
Overrides BynderWidgetBase::defaultConfiguration
File
- src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php, line 113
Class
- BynderUpload
- Uses upload to create media entities.
Namespace
Drupal\bynder\Plugin\EntityBrowser\WidgetCode
public function defaultConfiguration() {
return [
'brand' => NULL,
'extensions' => 'jpg jpeg png gif',
'dropzone_description' => $this
->t('Drop files here to upload them.'),
'tags' => [],
'metaproperty_options' => [],
] + parent::defaultConfiguration();
}