protected function SchedulerAdminForm::setDateFormatter in Scheduler 2.x
Same name and namespace in other branches
- 8 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 54
Class
- SchedulerAdminForm
- Main administration form for the Scheduler module.
Namespace
Drupal\scheduler\FormCode
protected function setDateFormatter(DateFormatterInterface $date_formatter) {
$this->dateFormatter = $date_formatter;
}