public static function PlainStringFormatter::defaultSettings in String field formatter 8.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/PlainStringFormatter.php \Drupal\string_field_formatter\Plugin\Field\FieldFormatter\PlainStringFormatter::defaultSettings()
- 2.0.x src/Plugin/Field/FieldFormatter/PlainStringFormatter.php \Drupal\string_field_formatter\Plugin\Field\FieldFormatter\PlainStringFormatter::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/ PlainStringFormatter.php, line 35 - Contains \Drupal\string_field_formatter\Plugin\Field\FieldFormatter\PlainStringFormatter.
Class
- PlainStringFormatter
- Plugin implementation of the 'plain_string_formatter' formatter.
Namespace
Drupal\string_field_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'wrap_tag' => '_none',
) + parent::defaultSettings();
}