summaryrefslogtreecommitdiffstats
path: root/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/workflows/src/Form/WorkflowTransitionEditForm.php')
-rw-r--r--core/modules/workflows/src/Form/WorkflowTransitionEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
index 9d3a223..ac1552e 100644
--- a/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
+++ b/core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
@@ -198,7 +198,7 @@ class WorkflowTransitionEditForm extends EntityForm {
}
$workflow->save();
- drupal_set_message($this->t('Saved %label transition.', [
+ $this->messenger()->addStatus($this->t('Saved %label transition.', [
'%label' => $workflow->getTypePlugin()->getTransition($this->transitionId)->label(),
]));
$form_state->setRedirectUrl($workflow->toUrl('edit-form'));