summaryrefslogtreecommitdiffstats
path: root/core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php')
-rw-r--r--core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php b/core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php
index 6347962..1fee5d4 100644
--- a/core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php
+++ b/core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php
@@ -98,7 +98,7 @@ class WorkflowTransitionDeleteForm extends ConfirmFormBase {
->deleteTransition($this->transition->id());
$this->workflow->save();
- drupal_set_message($this->t('%transition transition deleted.', ['%transition' => $this->transition->label()]));
+ $this->messenger()->addStatus($this->t('%transition transition deleted.', ['%transition' => $this->transition->label()]));
$form_state->setRedirectUrl($this->getCancelUrl());
}