You are here

public static function InsertFileWidget::defaultSettings in Insert 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/InsertFileWidget.php, line 45

Class

InsertFileWidget
Plugin implementation of the Insert File widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\Utility as that may be overwritten in other Insert widgets covering other field types.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return self::util()
    ->defaultSettings() + parent::defaultSettings();
}