public ContactFormEditForm::__construct(EmailValidator $email_validator, PathValidatorInterface$path_validator)
Constructs a new ContactFormEditForm.
Parameters
\Egulias\EmailValidator\EmailValidator $email_validator: The email validator.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator service.
File
- core/modules/contact/src/ContactFormEditForm.php, line 44
Class
- ContactFormEditForm
- Base form for contact form edit forms.
Namespace
Drupal\contact
Code
public function __construct(EmailValidator $email_validator, PathValidatorInterface $path_validator) { $this->emailValidator = $email_validator; $this->pathValidator = $path_validator; }
Please login to continue.