function DeleteMultipleForm::getDeletedMessage
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getDeletedMessage()
- 10 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getDeletedMessage()
- 11.x core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getDeletedMessage()
Returns the message to show the user after an item was deleted.
Parameters
int $count: Count of deleted translations.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The item deleted message.
1 call to DeleteMultipleForm::getDeletedMessage()
- DeleteMultipleForm::submitForm in core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php - Form submission handler.
2 methods override DeleteMultipleForm::getDeletedMessage()
- ConfirmDeleteMultiple::getDeletedMessage in core/
modules/ comment/ src/ Form/ ConfirmDeleteMultiple.php - Returns the message to show the user after an item was deleted.
- DeleteMultiple::getDeletedMessage in core/
modules/ node/ src/ Form/ DeleteMultiple.php - Returns the message to show the user after an item was deleted.
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php, line 306
Class
- DeleteMultipleForm
- Provides an entities deletion confirmation form.
Namespace
Drupal\Core\Entity\FormCode
protected function getDeletedMessage($count) {
return $this->formatPlural($count, 'Deleted @count item.', 'Deleted @count items.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.