summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php')
-rw-r--r--core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php b/core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php
index 1d46d7c..abfa380 100644
--- a/core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php
+++ b/core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectMultipleTrueForm.php
@@ -31,7 +31,7 @@ class FormTestTableSelectMultipleTrueForm extends FormTestTableSelectFormBase {
public function submitForm(array &$form, FormStateInterface $form_state) {
$selected = $form_state->getValue('tableselect');
foreach ($selected as $key => $value) {
- drupal_set_message(t('Submitted: @key = @value', ['@key' => $key, '@value' => $value]));
+ $this->messenger()->addStatus($this->t('Submitted: @key = @value', ['@key' => $key, '@value' => $value]));
}
}