You are here

public function AbjsExperienceDeleteConfirmForm::buildForm in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/AbjsExperienceDeleteConfirmForm.php \Drupal\abjs\Form\AbjsExperienceDeleteConfirmForm::buildForm()

Building form.

Parameters

array $form: The form.

\Drupal\Core\Form\FormStateInterface $form_state: The state of forms.

int $eid: The ID of the item to be deleted.

Overrides ConfirmFormBase::buildForm

File

src/Form/AbjsExperienceDeleteConfirmForm.php, line 104

Class

AbjsExperienceDeleteConfirmForm
Class for confirm delete experience.

Namespace

Drupal\abjs\Form

Code

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