public function ConditionalFieldDeleteFormTab::buildForm in Conditional Fields 4.x
Same name and namespace in other branches
- 8 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 48
Class
- ConditionalFieldDeleteFormTab
- A conditional field delete form designed to be displayed as a tab.
Namespace
Drupal\conditional_fields\FormCode
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);
}