protected function DeleteMultiple::getDeletedMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getDeletedMessage()
- 9 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::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/ node/ src/ Form/ DeleteMultiple.php, line 25
Class
- DeleteMultiple
- Provides a node deletion confirmation form.
Namespace
Drupal\node\FormCode
protected function getDeletedMessage($count) {
return $this
->formatPlural($count, 'Deleted @count content item.', 'Deleted @count content items.');
}