You are here

public static function S3fsCorsFileWidget::defaultSettings in S3 File System CORS Upload 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides FileWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/S3fsCorsFileWidget.php, line 31

Class

S3fsCorsFileWidget
Plugin implementation of the 's3fs_cors_widget' widget.

Namespace

Drupal\s3fs_cors\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  $settings = parent::defaultSettings();
  $settings['max_filesize'] = '';
  return $settings;
}