protected function EntityBrowserDeleteForm::getDeletionMessage in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Form/EntityBrowserDeleteForm.php \Drupal\entity_browser\Form\EntityBrowserDeleteForm::getDeletionMessage()
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/ EntityBrowserDeleteForm.php, line 40
Class
- EntityBrowserDeleteForm
- Delete confirm form for entity browsers.
Namespace
Drupal\entity_browser\FormCode
protected function getDeletionMessage() {
return $this
->t('Entity browser %label was deleted.', [
'%label' => $this->entity
->label(),
]);
}