summaryrefslogtreecommitdiffstats
path: root/core/modules/field_ui/src/Form/FieldConfigEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/field_ui/src/Form/FieldConfigEditForm.php')
-rw-r--r--core/modules/field_ui/src/Form/FieldConfigEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/field_ui/src/Form/FieldConfigEditForm.php b/core/modules/field_ui/src/Form/FieldConfigEditForm.php
index 34868ad..bf19a4a 100644
--- a/core/modules/field_ui/src/Form/FieldConfigEditForm.php
+++ b/core/modules/field_ui/src/Form/FieldConfigEditForm.php
@@ -177,7 +177,7 @@ class FieldConfigEditForm extends EntityForm {
public function save(array $form, FormStateInterface $form_state) {
$this->entity->save();
- drupal_set_message($this->t('Saved %label configuration.', ['%label' => $this->entity->getLabel()]));
+ $this->messenger()->addStatus($this->t('Saved %label configuration.', ['%label' => $this->entity->getLabel()]));
$request = $this->getRequest();
if (($destinations = $request->query->get('destinations')) && $next_destination = FieldUI::getNextDestination($destinations)) {