You are here

protected function VocabularyDeleteForm::getDeletionMessage in Zircon Profile 8

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

Gets the message to display to the user after deleting the entity.

Return value

string The translated string of the deletion message.

Overrides EntityDeleteFormTrait::getDeletionMessage

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 41
Contains \Drupal\taxonomy\Form\VocabularyDeleteForm.

Class

VocabularyDeleteForm
Provides a deletion confirmation form for taxonomy vocabulary.

Namespace

Drupal\taxonomy\Form

Code

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