You are here

public static function GpgKeyFormatter::defaultSettings in Mailhandler 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/GpgKeyFormatter.php, line 32

Class

GpgKeyFormatter
Plugin implementation of the 'mailhandler_gpg' formatter.

Namespace

Drupal\mailhandler\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'display' => 'fingerprint',
  ] + parent::defaultSettings();
}