function BigPipeRegressionTestController::regression2802923

Same name in other branches
  1. 9 core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php \Drupal\big_pipe_regression_test\BigPipeRegressionTestController::regression2802923()
  2. 10 core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php \Drupal\big_pipe_regression_test\BigPipeRegressionTestController::regression2802923()
  3. 11.x 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>'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.