summaryrefslogtreecommitdiffstats
path: root/core/modules/block/src/BlockForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/src/BlockForm.php')
-rw-r--r--core/modules/block/src/BlockForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/block/src/BlockForm.php b/core/modules/block/src/BlockForm.php
index b409c53..64f1aad 100644
--- a/core/modules/block/src/BlockForm.php
+++ b/core/modules/block/src/BlockForm.php
@@ -360,7 +360,7 @@ class BlockForm extends EntityForm {
// Save the settings of the plugin.
$entity->save();
- drupal_set_message($this->t('The block configuration has been saved.'));
+ $this->messenger()->addStatus($this->t('The block configuration has been saved.'));
$form_state->setRedirect(
'block.admin_display_theme',
[