protected function ProfileDeleteForm::getDeletionMessage in Profile 8
Overrides ContentEntityDeleteForm::getDeletionMessage
File
- src/
Form/ ProfileDeleteForm.php, line 25
Class
- ProfileDeleteForm
- Provides a confirmation form for deleting a profile entity.
Namespace
Drupal\profile\FormCode
protected function getDeletionMessage() {
$entity = $this
->getEntity();
return $this
->t('%label has been deleted.', [
'%label' => $entity
->label(),
]);
}