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.'));
}
}