You are here

public function AbjsTestDeleteConfirmForm::buildForm in A/B Test JS 8

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

Building form.

Parameters

array $form: The form.

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

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

Overrides ConfirmFormBase::buildForm

File

src/Form/AbjsTestDeleteConfirmForm.php, line 100

Class

AbjsTestDeleteConfirmForm
Class for confirm delete test.

Namespace

Drupal\abjs\Form

Code

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