You are here

protected property CronExampleForm::$cron in Examples for Developers 8

Same name and namespace 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

cron_example/src/Form/CronExampleForm.php, line 31

Class

CronExampleForm
Form with examples on how to use cron.

Namespace

Drupal\cron_example\Form

Code

protected $cron;