public static function FixedTextFileUrl::defaultSettings in Fixed text link formatter 8
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/ FixedTextFileUrl.php, line 28
Class
- FixedTextFileUrl
- Plugin implementation of the 'file_url_plain' formatter.
Namespace
Drupal\fixed_text_link_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'link_text' => 'Download',
'link_class' => '',
'open_in_new_window' => FALSE,
] + parent::defaultSettings();
}