You are here

public function KeyConfigOverrideDeleteForm::getDeletionMessage in Key 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/Form/KeyConfigOverrideDeleteForm.php, line 37

Class

KeyConfigOverrideDeleteForm
Builds the form to delete a Key.

Namespace

Drupal\key\Form

Code

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