You are here

protected property UserTranslationUITest::$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/user/tests/src/Functional/UserTranslationUITest.php, line 24

Class

UserTranslationUITest
Tests the User Translation UI.

Namespace

Drupal\Tests\user\Functional

Code

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