You are here

protected property TermTranslationUITest::$defaultCacheContexts in Drupal 9

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/taxonomy/tests/src/Functional/TermTranslationUITest.php, line 26

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\Tests\taxonomy\Functional

Code

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