function CronForm::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::__construct()
- 10 core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::__construct()
- 9 core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::__construct()
- 8.9.x core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.
Overrides ConfigFormBase::__construct
File
-
core/
modules/ system/ src/ Form/ CronForm.php, line 25
Class
- CronForm
- Configure cron settings for this site.
Namespace
Drupal\system\FormCode
public function __construct(ConfigFactoryInterface $config_factory, protected StateInterface $state, protected CronInterface $cron, protected DateFormatterInterface $dateFormatter, protected ModuleHandlerInterface $moduleHandler, TypedConfigManagerInterface $typedConfigManager) {
parent::__construct($config_factory, $typedConfigManager);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.