You are here

public function SiteMail::state in Production check & Production monitor 8

Calculates the state for the check.

Return value

TRUE if the check passed FALSE otherwise

Overrides ProdCheckInterface::state

File

src/Plugin/ProdCheck/Settings/SiteMail.php, line 37

Class

SiteMail
Site email status check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function state() {
  return empty($this->dangerous_mail);
}