CronExampleForm::$cron

Same name in other branches
  1. 3.x modules/cron_example/src/Form/CronExampleForm.php \Drupal\cron_example\Form\CronExampleForm::cron

The cron service.

Type: \Drupal\Core\CronInterface

File

modules/cron_example/src/Form/CronExampleForm.php, line 32

Class

CronExampleForm
Form with examples on how to use cron.

Namespace

Drupal\cron_example\Form

Code

protected $cron;