You are here

public static function S3fsCorsImageWidget::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 ImageWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/S3fsCorsImageWidget.php, line 30

Class

S3fsCorsImageWidget
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;
}