function ConfirmDeleteMultiple::getInaccessibleMessage

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

Overrides DeleteMultipleForm::getInaccessibleMessage

File

core/modules/comment/src/Form/ConfirmDeleteMultiple.php, line 39

Class

ConfirmDeleteMultiple
Provides the comment multiple delete confirmation form.

Namespace

Drupal\comment\Form

Code

protected function getInaccessibleMessage($count) {
    return $this->formatPlural($count, "@count comment has not been deleted because you do not have the necessary permissions.", "@count comments have not been deleted because you do not have the necessary permissions.");
}

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