You are here

public function DeleteBannerForm::buildForm in Dynamic Banner 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 ConfirmFormBase::buildForm

File

src/forms/DeleteBannerForm.php, line 33

Class

DeleteBannerForm

Namespace

Drupal\dynamic_banner\forms

Code

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