public static function BynderDocumentFormatter::defaultSettings in Bynder 8.3
Same name and namespace in other branches
- 4.0.x 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\FieldFormatterCode
public static function defaultSettings() {
return [
'link' => TRUE,
'title_field' => '',
] + parent::defaultSettings();
}