You are here

public function ErrorReporting::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/ErrorReporting.php, line 46

Class

ErrorReporting
User register settings check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function state() {
  $options = $this->configuration['options'];
  return !empty($options[$this->current]);
}