You are here

public function Update::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/Modules/Update.php, line 22

Class

Update
Update status check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Modules

Code

public function state() {
  return !$this->moduleHandler
    ->moduleExists('update');
}