function DateFormatDeleteForm::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::__construct()
- 10 core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::__construct()
- 8.9.x core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::__construct()
- main core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::__construct()
Constructs a DateFormatDeleteForm object.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
-
core/
modules/ system/ src/ Form/ DateFormatDeleteForm.php, line 29
Class
- DateFormatDeleteForm
- Builds a form to delete a date format.
Namespace
Drupal\system\FormCode
public function __construct(DateFormatterInterface $date_formatter) {
$this->dateFormatter = $date_formatter;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.