You are here

public function WebformSubmissionNotesForm::buildForm in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionNotesForm.php \Drupal\webform\WebformSubmissionNotesForm::buildForm()

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/WebformSubmissionNotesForm.php, line 119

Class

WebformSubmissionNotesForm
Controller for webform submission notes.

Namespace

Drupal\webform

Code

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