You are here

public function PoormansCron::init in Production check & Production monitor 8

Initializes the check plugin.

Overrides ProdCheckBase::init

File

src/Plugin/ProdCheck/Settings/PoormansCron.php, line 26

Class

PoormansCron
Poormans cron check.

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function init() {
  $this->cronInterval = $this->configFactory
    ->get('system.cron')
    ->get('threshold.autorun');
}