protected function DeleteMultiple::getInaccessibleMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getInaccessibleMessage()
- 9 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::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/ node/ src/ Form/ DeleteMultiple.php, line 32
Class
- DeleteMultiple
- Provides a node deletion confirmation form.
Namespace
Drupal\node\FormCode
protected function getInaccessibleMessage($count) {
return $this
->formatPlural($count, "@count content item has not been deleted because you do not have the necessary permissions.", "@count content items have not been deleted because you do not have the necessary permissions.");
}