You are here

public static function InsertFileWidgetUtility::defaultSettings in Insert 8

Return value

array

See also

\Drupal\Core\Field\PluginSettingsInterface::defaultSettings()

1 call to InsertFileWidgetUtility::defaultSettings()
InsertImageWidgetUtility::defaultSettings in src/Utility/InsertImageWidgetUtility.php
@inheritdoc
1 method overrides InsertFileWidgetUtility::defaultSettings()
InsertImageWidgetUtility::defaultSettings in src/Utility/InsertImageWidgetUtility.php
@inheritdoc

File

src/Utility/InsertFileWidgetUtility.php, line 30

Class

InsertFileWidgetUtility

Namespace

Drupal\insert\Utility

Code

public static function defaultSettings() {
  return [
    'insert_absolute' => FALSE,
    'insert_styles' => [
      'icon_link',
      'link',
    ],
    'insert_default' => 'link',
  ];
}