Issue #3326924: The provided API key is invalid
Compare changes
+ 182
− 182
@@ -145,74 +145,80 @@ class AdminSettingsForm extends ConfigFormBase {
@@ -145,74 +145,80 @@ class AdminSettingsForm extends ConfigFormBase {
$this->messenger()->addWarning($this->t('The Mailchimp Transactional PHP library is not installed. Please see installation directions in README.md'));
@@ -221,125 +227,124 @@ class AdminSettingsForm extends ConfigFormBase {
@@ -221,125 +227,124 @@ class AdminSettingsForm extends ConfigFormBase {
'#description' => $this->t('If selected, the input format to apply to the message body before sending to the Mailchimp Transactional API.'),
'#description' => $this->t('Whether or not to strip the query string from URLs when aggregating tracked URL data.'),
'#description' => $this->t('Comma delimited list of Drupal mail keys to exclude content logging for. CAUTION: Removing the default password reset key may expose a security risk.'),
'#title' => $this->t('Log sends from module/key pairs that are not registered independently in mailsystem.'),
'#description' => $this->t('If you select Mailchimp Transactional as the site-wide default email sender in %mailsystem and check this box, any messages that are sent through Mailchimp Transactional using module/key pairs that are not specifically registered in mailsystem will cause a message to be written to the system log (type: Mailchimp Transactional, severity: info). Enable this to identify keys and modules for automated emails for which you would like to have more granular control. It is not recommended to leave this box checked for extended periods, as it slows Mailchimp Transactional and can clog your logs.',
'#description' => $this->t('If you select Mailchimp Transactional as the site-wide default email sender in %mailsystem and check this box, any messages that are sent through Mailchimp Transactional using module/key pairs that are not specifically registered in mailsystem will cause a message to be written to the system log (type: Mailchimp Transactional, severity: info). Enable this to identify keys and modules for automated emails for which you would like to have more granular control. It is not recommended to leave this box checked for extended periods, as it slows Mailchimp Transactional and can clog your logs.',
'#description' => $this->t('One or more domains for which any matching URLs will automatically have Google Analytics parameters appended to their query string. Separate each domain with a comma.'),
'#description' => $this->t("The value to set for the utm_campaign tracking parameter. If this isn't provided the messages from address will be used instead."),
'#description' => $this->t('When set, emails will not be immediately sent. Instead, they will be placed in a queue and sent when cron is triggered.'),
'#description' => $this->t('Do you want to create a log entry when an email is queued to be sent?'),
'#description' => $this->t('Number of seconds to spend processing messages during cron. Zero or negative values are not allowed.'),
@@ -353,11 +358,6 @@ class AdminSettingsForm extends ConfigFormBase {
@@ -353,11 +358,6 @@ class AdminSettingsForm extends ConfigFormBase {
$form_state->setErrorByName('mailchimp_transactional_api_key', $this->t('The provided API key is invalid'));