function ChainRequestPolicyTest::providerAllowIfAnyRuleReturnedAllow
Provides test data for testAllowIfAnyRuleReturnedAllow.
Return value
array Test input and expected result.
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainRequestPolicyTest.php, line 137
Class
Namespace
Drupal\Tests\Core\PageCacheCode
public static function providerAllowIfAnyRuleReturnedAllow() {
return [
[
[
RequestPolicyInterface::ALLOW,
],
],
[
[
NULL,
RequestPolicyInterface::ALLOW,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.