You are here

public function BigPipeRegressionTestController::regression2802923 in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php \Drupal\big_pipe_regression_test\BigPipeRegressionTestController::regression2802923()

See also

\Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::testMultipleBodies_2678662()

1 string reference to 'BigPipeRegressionTestController::regression2802923'
big_pipe_regression_test.routing.yml in core/modules/big_pipe/tests/modules/big_pipe_regression_test/big_pipe_regression_test.routing.yml
core/modules/big_pipe/tests/modules/big_pipe_regression_test/big_pipe_regression_test.routing.yml

File

core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php, line 24

Class

BigPipeRegressionTestController

Namespace

Drupal\big_pipe_regression_test

Code

public function regression2802923() {
  return [
    '#prefix' => BigPipeMarkup::create('<p>Hi, my train will arrive at '),
    'time' => [
      '#lazy_builder' => [
        static::class . '::currentTime',
        [],
      ],
      '#create_placeholder' => TRUE,
    ],
    '#suffix' => BigPipeMarkup::create(' — will I still be able to catch the connection to the center?</p>'),
  ];
}