summaryrefslogtreecommitdiffstats
path: root/core/modules/locale/src/Form/ExportForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/locale/src/Form/ExportForm.php')
-rw-r--r--core/modules/locale/src/Form/ExportForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/locale/src/Form/ExportForm.php b/core/modules/locale/src/Form/ExportForm.php
index 89f3fbb..af3282a 100644
--- a/core/modules/locale/src/Form/ExportForm.php
+++ b/core/modules/locale/src/Form/ExportForm.php
@@ -180,7 +180,7 @@ class ExportForm extends FormBase {
$form_state->setResponse($response);
}
else {
- drupal_set_message($this->t('Nothing to export.'));
+ $this->messenger()->addStatus($this->t('Nothing to export.'));
}
}