ContentTestTranslationUITest::$defaultCacheContexts

Same name in other branches
  1. 10 core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::defaultCacheContexts
  2. 11.x core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::defaultCacheContexts

Type: defaultCacheContexts

Overrides ContentTranslationUITestBase::$defaultCacheContexts

File

core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php, line 20

Class

ContentTestTranslationUITest
Tests the test content translation UI with the test entity.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected $defaultCacheContexts = [
    'languages:language_interface',
    'theme',
    'url.query_args:_wrapper_format',
    'user.permissions',
    'url.site',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.