public function ContactFormCloneForm::__construct in Contact Storage 8
Constructs a new ContactFormCloneForm object.
Parameters
\Egulias\EmailValidator\EmailValidator $email_validator: Email validator.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.
\Drupal\Core\Entity\EntityFieldManagerInterface $field_manager: Entity field manager.
Overrides ContactFormEditForm::__construct
File
- src/
Form/ ContactFormCloneForm.php, line 50
Class
- ContactFormCloneForm
- Defines a class for cloning a contact form.
Namespace
Drupal\contact_storage\FormCode
public function __construct(EmailValidator $email_validator, PathValidatorInterface $path_validator, EntityFieldManagerInterface $field_manager) {
parent::__construct($email_validator, $path_validator);
$this->fieldManager = $field_manager;
}