summaryrefslogtreecommitdiffstats
path: root/core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php')
-rw-r--r--core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php b/core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
index 51353f6..78b6e7d 100644
--- a/core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
+++ b/core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php
@@ -85,7 +85,7 @@ class FileModuleTestForm extends FormBase {
$fids[] = $fid;
}
- drupal_set_message($this->t('The file ids are %fids.', ['%fids' => implode(',', $fids)]));
+ \Drupal::messenger()->addStatus($this->t('The file ids are %fids.', ['%fids' => implode(',', $fids)]));
}
}