CronExampleForm::$time

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

The time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

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

Class

CronExampleForm
Form with examples on how to use cron.

Namespace

Drupal\cron_example\Form

Code

protected $time;