summaryrefslogtreecommitdiffstats
path: root/core/modules/shortcut/src/Form/SetCustomize.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/shortcut/src/Form/SetCustomize.php')
-rw-r--r--core/modules/shortcut/src/Form/SetCustomize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/shortcut/src/Form/SetCustomize.php b/core/modules/shortcut/src/Form/SetCustomize.php
index 20094aa..027f023 100644
--- a/core/modules/shortcut/src/Form/SetCustomize.php
+++ b/core/modules/shortcut/src/Form/SetCustomize.php
@@ -106,7 +106,7 @@ class SetCustomize extends EntityForm {
$shortcut->setWeight($weight);
$shortcut->save();
}
- drupal_set_message(t('The shortcut set has been updated.'));
+ $this->messenger()->addStatus($this->t('The shortcut set has been updated.'));
}
}