function ChainRequestPolicyTest::providerChainExceptionOnInvalidReturnValue
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php \Drupal\Tests\Core\PageCache\ChainRequestPolicyTest::providerChainExceptionOnInvalidReturnValue()
- 10 core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php \Drupal\Tests\Core\PageCache\ChainRequestPolicyTest::providerChainExceptionOnInvalidReturnValue()
- 11.x core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php \Drupal\Tests\Core\PageCache\ChainRequestPolicyTest::providerChainExceptionOnInvalidReturnValue()
Provides test data for testChainExceptionOnInvalidReturnValue.
Return value
array Test input and expected result.
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainRequestPolicyTest.php, line 88
Class
- ChainRequestPolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainRequestPolicy @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
public function providerChainExceptionOnInvalidReturnValue() {
return [
[
FALSE,
],
[
0,
],
[
1,
],
[
TRUE,
],
[
[
1,
2,
3,
],
],
[
new \stdClass(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.