You are here

protected property CommentTranslationUITest::$defaultCacheContexts in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/CommentTranslationUITest.php \Drupal\Tests\comment\Functional\CommentTranslationUITest::defaultCacheContexts
  2. 10 core/modules/comment/tests/src/Functional/CommentTranslationUITest.php \Drupal\Tests\comment\Functional\CommentTranslationUITest::defaultCacheContexts

Default cache contexts expected on a non-translated entity.

Cache contexts will not be checked if this list is empty.

Type: string[]

Overrides ContentTranslationUITestBase::$defaultCacheContexts

File

core/modules/comment/tests/src/Functional/CommentTranslationUITest.php, line 41

Class

CommentTranslationUITest
Tests the Comment Translation UI.

Namespace

Drupal\Tests\comment\Functional

Code

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