public function CronFrequency::__construct in Automatic Updates 8
CronFrequency constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The state service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
ReadinessChecker/ CronFrequency.php, line 43
Class
- CronFrequency
- Cron frequency checker.
Namespace
Drupal\automatic_updates\ReadinessCheckerCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
}