You are here

protected function MailgunSanitizeCommands::applies in Mailgun 8

Verifies that 'sanitize-mailgun-queue' option is not set to "no".

Return value

bool TRUE if santize realname is enabled.

2 calls to MailgunSanitizeCommands::applies()
MailgunSanitizeCommands::messages in src/Commands/MailgunSanitizeCommands.php
Prepares messages.
MailgunSanitizeCommands::sanitize in src/Commands/MailgunSanitizeCommands.php
Removes all items from the Mailgun queue.

File

src/Commands/MailgunSanitizeCommands.php, line 78

Class

MailgunSanitizeCommands
Drush sql-sanitize plugin for sanitizing data in the Mailgun queue.

Namespace

Drupal\mailgun\Commands

Code

protected function applies($value) {
  return $value !== 'no';
}