function DateFormatDeleteForm::create
Same name in other branches
- 9 core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::create()
- 8.9.x core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::create()
- 10 core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::create()
Overrides FormBase::create
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 static function create(ContainerInterface $container) {
return new static($container->get('date.formatter'), $container->get('datetime.time'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.