function ContactFormEditForm::create

Overrides FormBase::create

File

core/modules/contact/src/ContactFormEditForm.php, line 53

Class

ContactFormEditForm
Base form for contact form edit forms.

Namespace

Drupal\contact

Code

public static function create(ContainerInterface $container) {
  return new static($container->get('email.validator'), $container->get('path.validator'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.