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
/
image
/
src
/
Form
/
ImageStyleFlushForm.php
diff --git
a/web/core/modules/image/src/Form/ImageStyleFlushForm.php
b/web/core/modules/image/src/Form/ImageStyleFlushForm.php
index df1d24e9ada4095b4023242b764539ff6eb8b28b..f07213fb604972bfe4991f89b3cd22113576ed84 100644
(file)
--- a/
web/core/modules/image/src/Form/ImageStyleFlushForm.php
+++ b/
web/core/modules/image/src/Form/ImageStyleFlushForm.php
@@
-45,7
+45,7
@@
class ImageStyleFlushForm extends EntityConfirmFormBase {
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->entity->flush();
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->entity->flush();
-
drupal_set_message
($this->t('The image style %name has been flushed.', ['%name' => $this->entity->label()]));
+
$this->messenger()->addStatus
($this->t('The image style %name has been flushed.', ['%name' => $this->entity->label()]));
$form_state->setRedirectUrl($this->getCancelUrl());
}
$form_state->setRedirectUrl($this->getCancelUrl());
}