summaryrefslogtreecommitdiffstats
path: root/core/modules/views_ui/src/Form/BreakLockForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/views_ui/src/Form/BreakLockForm.php')
-rw-r--r--core/modules/views_ui/src/Form/BreakLockForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/views_ui/src/Form/BreakLockForm.php b/core/modules/views_ui/src/Form/BreakLockForm.php
index 6e93848..9153575 100644
--- a/core/modules/views_ui/src/Form/BreakLockForm.php
+++ b/core/modules/views_ui/src/Form/BreakLockForm.php
@@ -110,7 +110,7 @@ class BreakLockForm extends EntityConfirmFormBase {
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->tempStore->delete($this->entity->id());
$form_state->setRedirectUrl($this->entity->urlInfo('edit-form'));
- drupal_set_message($this->t('The lock has been broken and you may now edit this view.'));
+ $this->messenger()->addStatus($this->t('The lock has been broken and you may now edit this view.'));
}
}