You are here

public function GeysirModalParagraphAddForm::buildForm in Geysir 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 GeysirModalParagraphForm::buildForm

File

src/Form/GeysirModalParagraphAddForm.php, line 15

Class

GeysirModalParagraphAddForm
Functionality to edit a paragraph through a modal.

Namespace

Drupal\geysir\Form

Code

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