You are here

protected function EdgeEntityDeleteForm::getDeletionMessage in Apigee Edge 8

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

src/Entity/Form/EdgeEntityDeleteForm.php, line 126

Class

EdgeEntityDeleteForm
Default entity delete form implementation for Apigee Edge entities.

Namespace

Drupal\apigee_edge\Entity\Form

Code

protected function getDeletionMessage() {
  return $this
    ->t('The %label @entity-type has been deleted.', [
    '@entity-type' => mb_strtolower($this
      ->getEntity()
      ->getEntityType()
      ->getSingularLabel()),
    '%label' => $this
      ->getEntity()
      ->label(),
  ]);
}