You are here

public static function MailchimpListsFieldSubscribeFormatter::defaultSettings in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_lists/src/Plugin/Field/FieldFormatter/MailchimpListsFieldSubscribeFormatter.php \Drupal\mailchimp_lists\Plugin\Field\FieldFormatter\MailchimpListsFieldSubscribeFormatter::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

modules/mailchimp_lists/src/Plugin/Field/FieldFormatter/MailchimpListsFieldSubscribeFormatter.php, line 61

Class

MailchimpListsFieldSubscribeFormatter
Plugin implementation of the 'mailchimp_lists_field_subscribe' formatter.

Namespace

Drupal\mailchimp_lists\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  $settings = [
    'show_interest_groups' => FALSE,
  ];
  return $settings;
}