projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
config
/
tests
/
config_test
/
src
/
ConfigTestForm.php
diff --git
a/web/core/modules/config/tests/config_test/src/ConfigTestForm.php
b/web/core/modules/config/tests/config_test/src/ConfigTestForm.php
index fbc0f9661d5f84875d4c9e1b6a4983517a077435..86e021e38c2cd11ba79c93bb3dcf3841c8c50173 100644
(file)
--- a/
web/core/modules/config/tests/config_test/src/ConfigTestForm.php
+++ b/
web/core/modules/config/tests/config_test/src/ConfigTestForm.php
@@
-138,10
+138,10
@@
class ConfigTestForm extends EntityForm {
$status = $entity->save();
if ($status === SAVED_UPDATED) {
$status = $entity->save();
if ($status === SAVED_UPDATED) {
-
drupal_set_message
(format_string('%label configuration has been updated.', ['%label' => $entity->label()]));
+
$this->messenger()->addStatus
(format_string('%label configuration has been updated.', ['%label' => $entity->label()]));
}
else {
}
else {
-
drupal_set_message
(format_string('%label configuration has been created.', ['%label' => $entity->label()]));
+
$this->messenger()->addStatus
(format_string('%label configuration has been created.', ['%label' => $entity->label()]));
}
$form_state->setRedirectUrl($this->entity->urlInfo('collection'));
}
$form_state->setRedirectUrl($this->entity->urlInfo('collection'));