summaryrefslogtreecommitdiffstats
path: root/core/modules/block/src/Controller/BlockController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/src/Controller/BlockController.php')
-rw-r--r--core/modules/block/src/Controller/BlockController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/block/src/Controller/BlockController.php b/core/modules/block/src/Controller/BlockController.php
index 7398ff9..543ce59 100644
--- a/core/modules/block/src/Controller/BlockController.php
+++ b/core/modules/block/src/Controller/BlockController.php
@@ -53,7 +53,7 @@ class BlockController extends ControllerBase {
*/
public function performOperation(BlockInterface $block, $op) {
$block->$op()->save();
- drupal_set_message($this->t('The block settings have been updated.'));
+ $this->messenger()->addStatus($this->t('The block settings have been updated.'));
return $this->redirect('block.admin_display');
}