You are here

public function PopupOnLoadForm::buildForm in Popup On Load 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 EntityForm::buildForm

File

src/Form/PopupOnLoadForm.php, line 50

Class

PopupOnLoadForm
Form controller for Popup On Load edit forms.

Namespace

Drupal\popup_onload\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /* @var $entity \Drupal\popup_onload\Entity\PopupOnLoad */
  $form = parent::buildForm($form, $form_state);
  return $form;
}