You are here

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

Class

PoormansCron
Poormans cron check.

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function state() {
  return $this->cronInterval === NULL;
}