You are here

public function PagererPresetPaneResetForm::buildForm in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Form/PagererPresetPaneResetForm.php \Drupal\pagerer\Form\PagererPresetPaneResetForm::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 EntityConfirmFormBase::buildForm

File

src/Form/PagererPresetPaneResetForm.php, line 87

Class

PagererPresetPaneResetForm
Form handler for Pagerer presets' panes.

Namespace

Drupal\pagerer\Form

Code

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