public static function ContactFieldFormatter::defaultSettings in Contact Formatter 8
Same name and namespace in other branches
- 2.x src/Plugin/Field/FieldFormatter/ContactFieldFormatter.php \Drupal\contact_formatter\Plugin\Field\FieldFormatter\ContactFieldFormatter::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/ ContactFieldFormatter.php, line 81
Class
- ContactFieldFormatter
- Plugin implementation of the 'contact_field_formatter' formatter.
Namespace
Drupal\contact_formatter\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [] + parent::defaultSettings();
}