function DateFormatEditForm::__construct
Same name and namespace in other branches
- 10 core/modules/system/src/Form/DateFormatEditForm.php \Drupal\system\Form\DateFormatEditForm::__construct()
Constructs a DateFormatEditForm object.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date service.
\Drupal\Core\Config\Entity\ConfigEntityStorageInterface $date_format_storage: The date format storage.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
Overrides DateFormatFormBase::__construct
File
-
core/
modules/ system/ src/ Form/ DateFormatEditForm.php, line 31
Class
- DateFormatEditForm
- Provides a form for editing a date format.
Namespace
Drupal\system\FormCode
public function __construct(DateFormatterInterface $date_formatter, ConfigEntityStorageInterface $date_format_storage, protected TimeInterface $time) {
parent::__construct($date_formatter, $date_format_storage);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.