You are here

protected function CacheContextsManagerTest::getContextsFixture in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest::getContextsFixture()
6 calls to CacheContextsManagerTest::getContextsFixture()
CacheContextsManagerTest::testAvailableContextLabels in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::testAvailableContextStrings in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheContextsManagerTest::testConvertTokensToKeys in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
@covers ::convertTokensToKeys
CacheContextsManagerTest::testInvalidCalculatedContext in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
@covers ::convertTokensToKeys
CacheContextsManagerTest::testInvalidContext in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
@covers ::convertTokensToKeys

... See full list

File

core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php, line 154
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.

Class

CacheContextsManagerTest
@coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager @group Cache

Namespace

Drupal\Tests\Core\Cache\Context

Code

protected function getContextsFixture() {
  return [
    'foo',
    'baz',
  ];
}