function CronForm::create

Same name in other branches
  1. 9 core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::create()
  2. 10 core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::create()
  3. 11.x core/modules/system/src/Form/CronForm.php \Drupal\system\Form\CronForm::create()

Overrides FormBase::create

File

core/modules/system/src/Form/CronForm.php, line 84

Class

CronForm
Configure cron settings for this site.

Namespace

Drupal\system\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'), $container->get('state'), $container->get('cron'), $container->get('date.formatter'), $container->get('module_handler'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.