public function WebformHandlerDeleteForm::buildForm in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformHandlerDeleteForm.php \Drupal\webform\Form\WebformHandlerDeleteForm::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 WebformDeleteFormBase::buildForm
File
- src/
Form/ WebformHandlerDeleteForm.php, line 98
Class
- WebformHandlerDeleteForm
- Form for deleting a webform handler.
Namespace
Drupal\webform\FormCode
public function buildForm(array $form, FormStateInterface $form_state, WebformInterface $webform = NULL, $webform_handler = NULL) {
$this->webform = $webform;
$this->webformHandler = $this->webform
->getHandler($webform_handler);
return parent::buildForm($form, $form_state);
}