summaryrefslogtreecommitdiffstats
path: root/core/modules/workflows/src/Form/WorkflowStateDeleteForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/workflows/src/Form/WorkflowStateDeleteForm.php')
-rw-r--r--core/modules/workflows/src/Form/WorkflowStateDeleteForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/workflows/src/Form/WorkflowStateDeleteForm.php b/core/modules/workflows/src/Form/WorkflowStateDeleteForm.php
index 14d1bbe..fd0fa43 100644
--- a/core/modules/workflows/src/Form/WorkflowStateDeleteForm.php
+++ b/core/modules/workflows/src/Form/WorkflowStateDeleteForm.php
@@ -98,7 +98,7 @@ class WorkflowStateDeleteForm extends ConfirmFormBase {
->deleteState($this->stateId);
$this->workflow->save();
- drupal_set_message($this->t(
+ $this->messenger()->addStatus($this->t(
'State %label deleted.',
['%label' => $workflow_label]
));