function ConfirmDeleteMultiple::getDeletedMessage

Same name and namespace in other branches
  1. 9 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getDeletedMessage()
  2. 8.9.x core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getDeletedMessage()
  3. 10 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getDeletedMessage()

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\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.