protected function ConfirmDeleteMultiple::getInaccessibleMessage in Drupal 8
Same name and namespace in other branches
- 9 core/modules/comment/src/Form/ConfirmDeleteMultiple.php \Drupal\comment\Form\ConfirmDeleteMultiple::getInaccessibleMessage()
Returns the message to show the user when an item has not been deleted.
Parameters
int $count: Count of deleted translations.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The item inaccessible message.
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\FormCode
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.");
}