You are here

public function SendOriginalForm::buildForm in Mail Safety 8

Form constructor.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

array The form structure.

Overrides ConfirmFormBase::buildForm

File

src/Form/SendOriginalForm.php, line 58

Class

SendOriginalForm
Class SendOriginalForm.

Namespace

Drupal\mail_safety\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $mail_safety = NULL) {
  $this->mailSafety = $mail_safety;
  return parent::buildForm($form, $form_state);
}