X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fshortcut%2Fsrc%2FForm%2FSetCustomize.php;h=027f023617b7297c405c7189d991922dde430b32;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=20094aa2c304730daeaf62fb890724fa7d8ff442;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/modules/shortcut/src/Form/SetCustomize.php b/web/core/modules/shortcut/src/Form/SetCustomize.php index 20094aa2c..027f02361 100644 --- a/web/core/modules/shortcut/src/Form/SetCustomize.php +++ b/web/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.')); } }