You are here

public function AddMailchimpEventWebformHandler::defaultConfiguration in Mailchimp 2.x

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

File

modules/mailchimp_events/src/Plugin/WebformHandler/AddMailchimpEventWebformHandler.php, line 64

Class

AddMailchimpEventWebformHandler
Webform submission Event handler.

Namespace

Drupal\mailchimp_events\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'list' => '',
    'email_type' => 'user',
    'email' => '',
    'event_name' => '',
    'properties' => '',
    'is_syncing' => FALSE,
    'debug' => FALSE,
  ];
}