Commit c779a82a authored by catch's avatar catch
Browse files

Issue #2771733 by xjm, Wim Leers, joelpittet: Remove _no_big_pipe: TRUE @todo

parent c021387c
...@@ -58,8 +58,7 @@ function big_pipe_page_attachments(array &$page) { ...@@ -58,8 +58,7 @@ function big_pipe_page_attachments(array &$page) {
'#noscript' => TRUE, '#noscript' => TRUE,
'#attributes' => [ '#attributes' => [
'http-equiv' => 'Refresh', 'http-equiv' => 'Refresh',
// @todo: Switch to Url::fromRoute() once https://www.drupal.org/node/2589967 is resolved. 'content' => '0; URL=' . Url::fromRoute('big_pipe.nojs', [], ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
'content' => '0; URL=' . Url::fromUri('internal:/big_pipe/no-js', ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
], ],
], ],
'big_pipe_detect_nojs', 'big_pipe_detect_nojs',
......
...@@ -460,8 +460,6 @@ system.batch_page.html: ...@@ -460,8 +460,6 @@ system.batch_page.html:
_format: 'html' _format: 'html'
options: options:
_admin_route: TRUE _admin_route: TRUE
# @todo Remove the '_no_big_pipe' route option when https://www.drupal.org/node/2589967 lands.
_no_big_pipe: TRUE
system.batch_page.json: system.batch_page.json:
path: '/batch' path: '/batch'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment