public static function MailchimpListsSubscribeDefaultFormatter::defaultSettings in Mailchimp 8
Same name and namespace in other branches
- 2.x modules/mailchimp_lists/src/Plugin/Field/FieldFormatter/MailchimpListsSubscribeDefaultFormatter.php \Drupal\mailchimp_lists\Plugin\Field\FieldFormatter\MailchimpListsSubscribeDefaultFormatter::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/ MailchimpListsSubscribeDefaultFormatter.php, line 25
Class
- MailchimpListsSubscribeDefaultFormatter
- Plugin implementation of the 'mailchimp_lists_subscribe_default' formatter.
Namespace
Drupal\mailchimp_lists\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
$settings = [
'show_interest_groups' => FALSE,
];
return $settings;
}