Skip to content
Snippets Groups Projects
Commit 8ba5748a authored by richardpapp's avatar richardpapp
Browse files

Drupal 10.3 missing status message theme suggestions.

parent 0f7d6151
No related branches found
No related tags found
1 merge request!243Merging develop into main
Pipeline #1264269 passed
......@@ -87,6 +87,7 @@
"#3159113 Local patch to prevent BC issue in 10.3": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3159113.diff",
"#3392903 Local patch to work around %formatter in custom_field": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3392903-follow-up.diff",
"#3438893 Views entity reverse": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3438893.diff",
"#3456176 10.3 missing status-message theme suggestions": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3456176.patch",
"#944582 File System Permissions": "https://www.drupal.org/files/issues/2024-01-16/944582-10.2.x-192.patch"
},
"drupal/dashboards": {
......
diff --git a/core/modules/big_pipe/src/Render/BigPipe.php b/core/modules/big_pipe/src/Render/BigPipe.php
index d7de08e29e..8e39116cbe 100644
--- a/core/modules/big_pipe/src/Render/BigPipe.php
+++ b/core/modules/big_pipe/src/Render/BigPipe.php
@@ -561,12 +561,12 @@ protected function sendPlaceholders(array $placeholders, array $placeholder_orde
// Delete all messages that were generated during the rendering of this
// placeholder, to render them in a BigPipe-optimized way.
- $messages = $this->messenger->deleteAll();
- foreach ($messages as $type => $type_messages) {
- foreach ($type_messages as $message) {
- $ajax_response->addCommand(new MessageCommand($message, NULL, ['type' => $type], FALSE));
- }
- }
+ // $messages = $this->messenger->deleteAll();
+ // foreach ($messages as $type => $type_messages) {
+ // foreach ($type_messages as $message) {
+ // $ajax_response->addCommand(new MessageCommand($message, NULL, ['type' => $type], FALSE));
+ // }
+ //}
// Push a fake request with the asset libraries loaded so far and
// dispatch KernelEvents::RESPONSE event. This results in the
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment