public static function GpgKeyWidget::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/ FieldWidget/ GpgKeyWidget.php, line 25
Class
- GpgKeyWidget
- Plugin implementation of the 'mailhandler_gpg' widget.
Namespace
Drupal\mailhandler\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'rows' => '20',
'placeholder' => t("Begins with '-----BEGIN PGP PUBLIC KEY BLOCK-----'"),
] + parent::defaultSettings();
}