function DateFormatEditForm::create
Same name in other branches
- 10 core/modules/system/src/Form/DateFormatEditForm.php \Drupal\system\Form\DateFormatEditForm::create()
Overrides DateFormatFormBase::create
File
-
core/
modules/ system/ src/ Form/ DateFormatEditForm.php, line 39
Class
- DateFormatEditForm
- Provides a form for editing a date format.
Namespace
Drupal\system\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('date.formatter'), $container->get('entity_type.manager')
->getStorage('date_format'), $container->get('datetime.time'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.