function DeleteForm::buildForm
Same name in other branches
- 9 core/modules/forum/src/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::buildForm()
- 10 core/modules/forum/src/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::buildForm()
- 11.x core/modules/forum/src/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::buildForm()
Overrides ConfirmFormBase::buildForm
File
-
core/
modules/ forum/ src/ Form/ DeleteForm.php, line 55
Class
- DeleteForm
- Builds the form to delete a forum term.
Namespace
Drupal\forum\FormCode
public function buildForm(array $form, FormStateInterface $form_state, TermInterface $taxonomy_term = NULL) {
$this->taxonomyTerm = $taxonomy_term;
return parent::buildForm($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.