function AccessPolicyProcessorTest::cachingProvider
Data provider for testCaching().
Return value
array A list of testAccountSwitcher method arguments.
File
- 
              core/tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php, line 304 
Class
- AccessPolicyProcessorTest
- Tests the AccessPolicyProcessor service.
Namespace
Drupal\Tests\Core\SessionCode
public static function cachingProvider() {
  $cases = [
    'no-cache' => [
      FALSE,
      FALSE,
    ],
    'static-cache-hit' => [
      FALSE,
      TRUE,
    ],
    'db-cache-hit' => [
      TRUE,
      FALSE,
    ],
  ];
  return $cases;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
