You are here

function mandrill_process_async in Mandrill 8

Same name and namespace in other branches
  1. 7.2 mandrill.module \mandrill_process_async()
  2. 7 mandrill.module \mandrill_process_async()

Determine if mail should be processed asynchronously.

Return value

bool True if asyncronous processing is enabled

2 string references to 'mandrill_process_async'
MandrillAdminSettingsForm::buildForm in src/Form/MandrillAdminSettingsForm.php
.
MandrillMail::mail in src/Plugin/Mail/MandrillMail.php
Send the email message.

File

./mandrill.module, line 243
Enables Drupal to send email directly through Mandrill.

Code

function mandrill_process_async() {
  return \Drupal::config('mandrill.settings')
    ->get('mandrill_process_async');
}