You are here

protected function DeleteMultiple::getDeletedMessage in Drupal 8

Same name and namespace in other branches
  1. 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\Form

Code

protected function getDeletedMessage($count) {
  return $this
    ->formatPlural($count, 'Deleted @count content item.', 'Deleted @count content items.');
}