public static function FieldTokenValueTextFormatter::defaultSettings in Field Token Value 2.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/FieldTokenValueTextFormatter.php \Drupal\field_token_value\Plugin\Field\FieldFormatter\FieldTokenValueTextFormatter::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/ FieldTokenValueTextFormatter.php, line 80
Class
- FieldTokenValueTextFormatter
- Provides the Field Token Value Text field formatter.
Namespace
Drupal\field_token_value\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'wrapper' => '',
'link' => FALSE,
] + parent::defaultSettings();
}