You are here

protected function TermDeleteForm::getDeletionMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Form/TermDeleteForm.php \Drupal\taxonomy\Form\TermDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

core/modules/taxonomy/src/Form/TermDeleteForm.php, line 45
Contains \Drupal\taxonomy\Form\TermDeleteForm.

Class

TermDeleteForm
Provides a deletion confirmation form for taxonomy term.

Namespace

Drupal\taxonomy\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('Deleted term %name.', array(
    '%name' => $this->entity
      ->label(),
  ));
}