public function ContactFormEditForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/contact/src/ContactFormEditForm.php \Drupal\contact\ContactFormEditForm::__construct()
Constructs a new ContactFormEditForm.
Parameters
\Drupal\Component\Utility\EmailValidatorInterface $email_validator: The email validator.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator service.
File
- core/
modules/ contact/ src/ ContactFormEditForm.php, line 45
Class
- ContactFormEditForm
- Base form for contact form edit forms.
Namespace
Drupal\contactCode
public function __construct(EmailValidatorInterface $email_validator, PathValidatorInterface $path_validator) {
$this->emailValidator = $email_validator;
$this->pathValidator = $path_validator;
}