You are here

protected function ParagraphDeleteForm::getDeletionMessage in Paragraphs Edit 8.2

Overrides ContentEntityDeleteForm::getDeletionMessage

File

src/Form/ParagraphDeleteForm.php, line 27

Class

ParagraphDeleteForm
Provides a form for deleting a paragraph from a node.

Namespace

Drupal\paragraphs_edit\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('@lineage has been deleted.', [
    '@lineage' => $this
      ->lineageInspector()
      ->getLineageString($this->entity),
  ]);
}