comparison core/modules/big_pipe/src/Render/BigPipe.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 1fec387a4317
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
444 trigger_error($e, E_USER_ERROR); 444 trigger_error($e, E_USER_ERROR);
445 continue; 445 continue;
446 } 446 }
447 } 447 }
448 448
449
450 // Create a new HtmlResponse. Ensure the CSS and (non-bottom) JS is sent 449 // Create a new HtmlResponse. Ensure the CSS and (non-bottom) JS is sent
451 // before the HTML they're associated with. In other words: ensure the 450 // before the HTML they're associated with. In other words: ensure the
452 // critical assets for this placeholder's markup are loaded first. 451 // critical assets for this placeholder's markup are loaded first.
453 // @see \Drupal\Core\Render\HtmlResponseSubscriber 452 // @see \Drupal\Core\Render\HtmlResponseSubscriber
454 // @see template_preprocess_html() 453 // @see template_preprocess_html()
480 else { 479 else {
481 trigger_error($e, E_USER_ERROR); 480 trigger_error($e, E_USER_ERROR);
482 continue; 481 continue;
483 } 482 }
484 } 483 }
485
486 484
487 // Send this embedded HTML response. 485 // Send this embedded HTML response.
488 $this->sendChunk($html_response); 486 $this->sendChunk($html_response);
489 487
490 // Another placeholder was rendered and sent, track the set of asset 488 // Another placeholder was rendered and sent, track the set of asset