public function SmartDateFormatDeleteForm::__construct in Smart Date 8
Same name and namespace in other branches
- 8.2 src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.0.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.1.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.2.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.3.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
- 3.4.x src/Form/SmartDateFormatDeleteForm.php \Drupal\smart_date\Form\SmartDateFormatDeleteForm::__construct()
Constructs an SmartDateFormatDeleteForm object.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- src/
Form/ SmartDateFormatDeleteForm.php, line 29
Class
- SmartDateFormatDeleteForm
- Builds a form to delete a smart date format.
Namespace
Drupal\smart_date\FormCode
public function __construct(DateFormatterInterface $date_formatter) {
$this->dateFormatter = $date_formatter;
}