You are here

public function ConditionalFieldDeleteForm::buildForm in Conditional Fields 8

Same name and namespace in other branches
  1. 4.x src/Form/ConditionalFieldDeleteForm.php \Drupal\conditional_fields\Form\ConditionalFieldDeleteForm::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 ConfirmFormBase::buildForm

1 call to ConditionalFieldDeleteForm::buildForm()
ConditionalFieldDeleteFormTab::buildForm in src/Form/ConditionalFieldDeleteFormTab.php
Form constructor.
1 method overrides ConditionalFieldDeleteForm::buildForm()
ConditionalFieldDeleteFormTab::buildForm in src/Form/ConditionalFieldDeleteFormTab.php
Form constructor.

File

src/Form/ConditionalFieldDeleteForm.php, line 75

Class

ConditionalFieldDeleteForm
Class ConditionalFieldDeleteForm.

Namespace

Drupal\conditional_fields\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $entity_type = NULL, $bundle = NULL, $field_name = NULL, $uuid = NULL) {
  $this->entityType = $entity_type;
  $this->bundle = $bundle;
  $this->fieldName = $field_name;
  $this->uuid = $uuid;
  return parent::buildForm($form, $form_state);
}