5 * Support module for BigPipe testing.
9 * Implements hook_page_top().
11 function big_pipe_test_page_top(array &$page_top) {
12 // Ensure this hook is invoked on every page load.
13 $page_top['#cache']['max-age'] = 0;
15 if (\Drupal::request()->query->get('trigger_session')) {
16 $_SESSION['big_pipe_test'] = TRUE;