You are here

public function Contact::successMessages in Production check & Production monitor 8

Returns the success messages for the check.

Return value

An associative array containing the following keys

  • value: the value of the check
  • description: the description of the check

Overrides ProdCheckInterface::successMessages

File

src/Plugin/ProdCheck/Modules/Contact.php, line 55

Class

Contact
Contact status check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Modules

Code

public function successMessages() {
  return [
    'value' => $this
      ->t('Contact e-mail addresses are OK.'),
    'description' => $this
      ->t('Your settings are OK for production use.'),
  ];
}