You are here

public function DbLog::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/Server/DbLog.php, line 59

Class

DbLog
Dblog report

Namespace

Drupal\prod_check\Plugin\ProdCheck\Server

Code

public function state() {
  return !$this->result;
}