You are here

protected function MicrositeMenuItemDeleteForm::getDeletionMessage in Entity Reference Hierarchy 8.2

Same name and namespace in other branches
  1. 3.x modules/entity_hierarchy_microsite/src/Form/MicrositeMenuItemDeleteForm.php \Drupal\entity_hierarchy_microsite\Form\MicrositeMenuItemDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

modules/entity_hierarchy_microsite/src/Form/MicrositeMenuItemDeleteForm.php, line 32

Class

MicrositeMenuItemDeleteForm
Provides a delete form for override menu links.

Namespace

Drupal\entity_hierarchy_microsite\Form

Code

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