public function KeyDeleteForm::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/ KeyDeleteForm.php, line 69
Class
- KeyDeleteForm
- Builds the form to delete a Key.
Namespace
Drupal\key\FormCode
public function getDeletionMessage() {
return $this
->t('The key %label has been deleted.', [
'%label' => $this->entity
->label(),
]);
}