function BigPipeRegressionTestController::largeContent

Same name in other branches
  1. 10 core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php \Drupal\big_pipe_regression_test\BigPipeRegressionTestController::largeContent()

A page with large content.

See also

\Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::testBigPipeLargeContent

1 string reference to 'BigPipeRegressionTestController::largeContent'
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 45

Class

BigPipeRegressionTestController

Namespace

Drupal\big_pipe_regression_test

Code

public function largeContent() {
    return [
        'item1' => [
            '#lazy_builder' => [
                static::class . '::largeContentBuilder',
                [],
            ],
            '#create_placeholder' => TRUE,
        ],
    ];
}

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