You are here

public static function EmailContactInlineFormatter::defaultSettings in Email Contact 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/EmailContactInlineFormatter.php, line 90

Class

EmailContactInlineFormatter
Plugin implementation of the 'email_contact_inline' formatter.

Namespace

Drupal\email_contact\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return array(
    'link_text' => '',
    'redirection_to' => 'front',
    'custom_path' => '',
    'include_values' => 1,
    'default_message' => '',
  ) + parent::defaultSettings();
}