You are here

public function ContactForm::__construct in Email Contact 8

File

src/Form/ContactForm.php, line 17

Class

ContactForm

Namespace

Drupal\email_contact\Form

Code

public function __construct($entity_type = NULL, $entity_id = NULL, $field_name = NULL, $field_settings = NULL) {
  $this->entity_type = $entity_type;
  $this->entity_id = $entity_id;
  $this->field_name = $field_name;
  $this->field_settings = $field_settings;
}