protected function SchedulerAdminForm::setDateFormatter in Scheduler 8
Same name and namespace in other branches
- 2.x src/Form/SchedulerAdminForm.php \Drupal\scheduler\Form\SchedulerAdminForm::setDateFormatter()
Sets the date formatter.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- src/
Form/ SchedulerAdminForm.php, line 37
Class
- SchedulerAdminForm
- Main administration form for the Scheduler module.
Namespace
Drupal\scheduler\FormCode
protected function setDateFormatter(DateFormatterInterface $date_formatter) {
$this->dateFormatter = $date_formatter;
}