public function YamlFormHandlerDeleteForm::buildForm in YAML Form 8
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
File
- src/
Form/ YamlFormHandlerDeleteForm.php, line 59
Class
- YamlFormHandlerDeleteForm
- Form for deleting a form handler.
Namespace
Drupal\yamlform\FormCode
public function buildForm(array $form, FormStateInterface $form_state, YamlFormInterface $yamlform = NULL, $yamlform_handler = NULL) {
$this->yamlform = $yamlform;
$this->yamlformHandler = $this->yamlform
->getHandler($yamlform_handler);
return parent::buildForm($form, $form_state);
}