summaryrefslogtreecommitdiffstats
path: root/core/modules/book/src/Form/BookAdminEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/book/src/Form/BookAdminEditForm.php')
-rw-r--r--core/modules/book/src/Form/BookAdminEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/book/src/Form/BookAdminEditForm.php b/core/modules/book/src/Form/BookAdminEditForm.php
index 66e717e..e052b7c 100644
--- a/core/modules/book/src/Form/BookAdminEditForm.php
+++ b/core/modules/book/src/Form/BookAdminEditForm.php
@@ -127,7 +127,7 @@ class BookAdminEditForm extends FormBase {
}
}
- drupal_set_message($this->t('Updated book %title.', ['%title' => $form['#node']->label()]));
+ $this->messenger()->addStatus($this->t('Updated book %title.', ['%title' => $form['#node']->label()]));
}
/**