protected function ConfirmDeleteMultiple::getDeletedMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getDeletedMessage()
- 9 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::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.
Overrides DeleteMultipleForm::getDeletedMessage
File
- core/
modules/ comment/ src/ Form/ ConfirmDeleteMultiple.php, line 32
Class
- ConfirmDeleteMultiple
- Provides the comment multiple delete confirmation form.
Namespace
Drupal\comment\FormCode
protected function getDeletedMessage($count) {
return $this
->formatPlural($count, 'Deleted @count comment.', 'Deleted @count comments.');
}