You are here

public function WebformScheduledTaskForm::buildForm in Webform Scheduled Tasks 8.2

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 EntityForm::buildForm

File

src/Form/WebformScheduledTaskForm.php, line 27

Class

WebformScheduledTaskForm
The scheduled task form.

Namespace

Drupal\webform_scheduled_tasks\Form

Code

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