function CacheContextsManagerTest::providerTestInvalidCalculatedContext
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest::providerTestInvalidCalculatedContext()
- 10 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest::providerTestInvalidCalculatedContext()
- 11.x core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest::providerTestInvalidCalculatedContext()
Provides a list of invalid 'baz' cache contexts: the parameter is missing.
File
-
core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php, line 133
Class
- CacheContextsManagerTest
- @coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager @group Cache
Namespace
Drupal\Tests\Core\Cache\ContextCode
public function providerTestInvalidCalculatedContext() {
return [
[
'baz',
],
[
'baz:',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.