function DateFormatDeleteForm::create

Overrides FormBase::create

File

core/modules/system/src/Form/DateFormatDeleteForm.php, line 43

Class

DateFormatDeleteForm
Builds a form to delete a date format.

Namespace

Drupal\system\Form

Code

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.