summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php')
-rw-r--r--core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php b/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php
index 1b343fc..c2d062a 100644
--- a/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php
+++ b/core/modules/system/tests/modules/form_test/src/Form/FormTestVerticalTabsAccessForm.php
@@ -130,7 +130,7 @@ class FormTestVerticalTabsAccessForm extends FormBase {
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
- drupal_set_message(t('The form submitted correctly.'));
+ $this->messenger()->addStatus(t('The form submitted correctly.'));
}
}