protected property ContentTranslationUITestBase::$defaultCacheContexts in Drupal 8
Same name in this branch
- 8 core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php \Drupal\content_translation\Tests\ContentTranslationUITestBase::defaultCacheContexts
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationUITestBase::defaultCacheContexts
Default cache contexts expected on a non-translated entity.
Cache contexts will not be checked if this list is empty.
Type: string[]
File
- core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php, line 57
Class
- ContentTranslationUITestBase
- Tests the Content Translation UI.
Namespace
Drupal\content_translation\TestsCode
protected $defaultCacheContexts = [
'languages:language_interface',
'theme',
'url.query_args:_wrapper_format',
'user.permissions',
];