You are here

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

Class

UserRegister
User register settings check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

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