summaryrefslogtreecommitdiffstats
path: root/core/modules/image/src/Form/ImageEffectFormBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/image/src/Form/ImageEffectFormBase.php')
-rw-r--r--core/modules/image/src/Form/ImageEffectFormBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/image/src/Form/ImageEffectFormBase.php b/core/modules/image/src/Form/ImageEffectFormBase.php
index 74368d6..d62baba 100644
--- a/core/modules/image/src/Form/ImageEffectFormBase.php
+++ b/core/modules/image/src/Form/ImageEffectFormBase.php
@@ -123,7 +123,7 @@ abstract class ImageEffectFormBase extends FormBase {
}
$this->imageStyle->save();
- drupal_set_message($this->t('The image effect was successfully applied.'));
+ $this->messenger()->addStatus($this->t('The image effect was successfully applied.'));
$form_state->setRedirectUrl($this->imageStyle->urlInfo('edit-form'));
}