function BigPipeRegressionTestController::largeContentBuilder

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

Renders large content.

See also

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

File

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

Class

BigPipeRegressionTestController

Namespace

Drupal\big_pipe_regression_test

Code

public static function largeContentBuilder() {
    return [
        '#theme' => 'big_pipe_test_large_content',
        '#cache' => [
            'max-age' => 0,
        ],
    ];
}

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