function DeleteMultipleForm::getInaccessibleMessage
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getInaccessibleMessage()
- 8.9.x core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getInaccessibleMessage()
- 11.x core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::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.
1 call to DeleteMultipleForm::getInaccessibleMessage()
- DeleteMultipleForm::submitForm in core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php
2 methods override DeleteMultipleForm::getInaccessibleMessage()
- ConfirmDeleteMultiple::getInaccessibleMessage in core/
modules/ comment/ src/ Form/ ConfirmDeleteMultiple.php - DeleteMultiple::getInaccessibleMessage in core/
modules/ node/ src/ Form/ DeleteMultiple.php - Returns the message to show the user when an item has not been deleted.
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php, line 322
Class
- DeleteMultipleForm
- Provides an entities deletion confirmation form.
Namespace
Drupal\Core\Entity\FormCode
protected function getInaccessibleMessage($count) {
return $this->formatPlural($count, "@count item has not been deleted because you do not have the necessary permissions.", "@count items 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.