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