summaryrefslogtreecommitdiffstats
path: root/core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php')
-rw-r--r--core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php b/core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php
index 2d6850b..6437753 100644
--- a/core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php
+++ b/core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php
@@ -202,7 +202,7 @@ class MediaDeleteMultipleConfirmForm extends ConfirmFormBase {
}
if ($total_count) {
- drupal_set_message($this->formatPlural($total_count, 'Deleted 1 media item.', 'Deleted @count media items.'));
+ $this->messenger()->addStatus($this->formatPlural($total_count, 'Deleted 1 media item.', 'Deleted @count media items.'));
}
$this->tempStoreFactory->get('media_multiple_delete_confirm')->delete(\Drupal::currentUser()->id());