summaryrefslogtreecommitdiffstats
path: root/core/modules/user/src/Form/UserPermissionsForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/user/src/Form/UserPermissionsForm.php')
-rw-r--r--core/modules/user/src/Form/UserPermissionsForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/user/src/Form/UserPermissionsForm.php b/core/modules/user/src/Form/UserPermissionsForm.php
index 7d3adaa..0f7f037 100644
--- a/core/modules/user/src/Form/UserPermissionsForm.php
+++ b/core/modules/user/src/Form/UserPermissionsForm.php
@@ -216,7 +216,7 @@ class UserPermissionsForm extends FormBase {
user_role_change_permissions($role_name, (array) $form_state->getValue($role_name));
}
- drupal_set_message($this->t('The changes have been saved.'));
+ $this->messenger()->addStatus($this->t('The changes have been saved.'));
}
}