You are here

protected function MenuLinkContentDeleteForm::getDeletionMessage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php \Drupal\menu_link_content\Form\MenuLinkContentDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php, line 35

Class

MenuLinkContentDeleteForm
Provides a delete form for content menu links.

Namespace

Drupal\menu_link_content\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('The menu link %title has been deleted.', [
    '%title' => $this->entity
      ->label(),
  ]);
}