protected function TermDeleteForm::getDeletionMessage in Drupal 9
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Form/TermDeleteForm.php \Drupal\taxonomy\Form\TermDeleteForm::getDeletionMessage()
- 10 core/modules/taxonomy/src/Form/TermDeleteForm.php \Drupal\taxonomy\Form\TermDeleteForm::getDeletionMessage()
Overrides ContentEntityDeleteForm::getDeletionMessage
File
- core/
modules/ taxonomy/ src/ Form/ TermDeleteForm.php, line 41
Class
- TermDeleteForm
- Provides a deletion confirmation form for taxonomy term.
Namespace
Drupal\taxonomy\FormCode
protected function getDeletionMessage() {
return $this
->t('Deleted term %name.', [
'%name' => $this->entity
->label(),
]);
}