protected function DeleteMultipleForm::getDeletedMessage in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getDeletedMessage()
- 9 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getDeletedMessage()
Returns the message to show the user after an item was deleted.
Parameters
int $count: Count of deleted translations.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The item deleted message.
1 call to DeleteMultipleForm::getDeletedMessage()
- DeleteMultipleForm::submitForm in core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php - Form submission handler.
2 methods override DeleteMultipleForm::getDeletedMessage()
- ConfirmDeleteMultiple::getDeletedMessage in core/
modules/ comment/ src/ Form/ ConfirmDeleteMultiple.php - Returns the message to show the user after an item was deleted.
- DeleteMultiple::getDeletedMessage in core/
modules/ node/ src/ Form/ DeleteMultiple.php - Returns the message to show the user after an item was deleted.
File
- core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php, line 306
Class
- DeleteMultipleForm
- Provides an entities deletion confirmation form.
Namespace
Drupal\Core\Entity\FormCode
protected function getDeletedMessage($count) {
return $this
->formatPlural($count, 'Deleted @count item.', 'Deleted @count items.');
}