You are here

public static function BynderDocumentFormatter::defaultSettings in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/Field/FieldFormatter/BynderDocumentFormatter.php \Drupal\bynder\Plugin\Field\FieldFormatter\BynderDocumentFormatter::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/BynderDocumentFormatter.php, line 25

Class

BynderDocumentFormatter
Plugin implementation of the 'Bynder Document' formatter.

Namespace

Drupal\bynder\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'link' => TRUE,
    'title_field' => '',
  ] + parent::defaultSettings();
}