protected property ContentTestTranslationUITest::$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/ 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\FunctionalCode
protected $defaultCacheContexts = [
'languages:language_interface',
'theme',
'url.query_args:_wrapper_format',
'user.permissions',
'url.site',
];