You are here

public function UserRegister::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/Settings/UserRegister.php, line 54

Class

UserRegister
User register settings check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function successMessages() {
  return [
    'value' => $this->options[$this->current],
    'description' => $this
      ->generateDescription($this
      ->title(), 'entity.user.admin_form'),
  ];
}