function BigPipeTest::performMetaRefresh
Same name in other branches
- 9 core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::performMetaRefresh()
- 10 core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::performMetaRefresh()
- 11.x core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::performMetaRefresh()
Performs a single <meta> refresh explicitly.
This test disables the automatic <meta> refresh checking, each time it is desired that this runs, a test case must explicitly call this.
See also
setUp()
3 calls to BigPipeTest::performMetaRefresh()
- BigPipeTest::assertBigPipeNoJsMetaRefreshRedirect in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Calls ::performMetaRefresh() and asserts the responses.
- BigPipeTest::testBigPipeMultiOccurrencePlaceholders in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe with a multi-occurrence placeholder.
- BigPipeTest::testBigPipeNoJs in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe-delivered HTML responses when JavaScript is disabled.
File
-
core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php, line 69
Class
- BigPipeTest
- Tests BigPipe's no-JS detection & response delivery (with and without JS).
Namespace
Drupal\Tests\big_pipe\FunctionalCode
protected function performMetaRefresh() {
$this->maximumMetaRefreshCount = 1;
$this->checkForMetaRefresh();
$this->maximumMetaRefreshCount = 0;
$this->metaRefreshCount = 0;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.