You are here

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

File

src/Plugin/Field/FieldWidget/InsertImageWidget.php, line 45

Class

InsertImageWidget
Plugin implementation of the Insert Image widget. This is just a barebone set of overwritten methods. All actual logic is deferred to \Drupal\insert\Utility\UtilityImage.

Namespace

Drupal\insert\Plugin\Field\FieldWidget

Code

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