ContactFormEditForm::__construct

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;
}
doc_Drupal
2016-10-29 08:56:26
Comments
Leave a Comment

Please login to continue.