public function TermDeleteForm::getDescription in Drupal 9
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Form/TermDeleteForm.php \Drupal\taxonomy\Form\TermDeleteForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ContentEntityConfirmFormBase::getDescription
File
- core/
modules/ taxonomy/ src/ Form/ TermDeleteForm.php, line 34
Class
- TermDeleteForm
- Provides a deletion confirmation form for taxonomy term.
Namespace
Drupal\taxonomy\FormCode
public function getDescription() {
return $this
->t('Deleting a term will delete all its children if there are any. This action cannot be undone.');
}