You are here

public function FileUpload::defaultConfiguration in Lightning Media 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/EntityBrowser/Widget/FileUpload.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\FileUpload::defaultConfiguration()
  2. 8.2 src/Plugin/EntityBrowser/Widget/FileUpload.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\FileUpload::defaultConfiguration()
  3. 8.3 src/Plugin/EntityBrowser/Widget/FileUpload.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\FileUpload::defaultConfiguration()

Overrides EntityFormProxy::defaultConfiguration

File

src/Plugin/EntityBrowser/Widget/FileUpload.php, line 167

Class

FileUpload
An Entity Browser widget for creating media entities from uploaded files.

Namespace

Drupal\lightning_media\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  $configuration = parent::defaultConfiguration();
  $configuration['return_file'] = FALSE;
  return $configuration;
}