You are here

public function ConditionalFieldDeleteFormTab::buildForm in Conditional Fields 8

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

File

src/Form/ConditionalFieldDeleteFormTab.php, line 37

Class

ConditionalFieldDeleteFormTab
Class ConditionalFieldDeleteFormTab.

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->entity_type = $entity_type;
  $this->bundle = $bundle;
  return parent::buildForm($form, $form_state, $entity_type, $bundle, $field_name, $uuid);
}