NodeTranslationUITest::$defaultCacheContexts
Same name in other branches
- 8.9.x core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::defaultCacheContexts
- 10 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::defaultCacheContexts
- 11.x core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::defaultCacheContexts
Type: defaultCacheContexts
Overrides ContentTranslationUITestBase::$defaultCacheContexts
File
-
core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php, line 27
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\Tests\node\FunctionalCode
protected $defaultCacheContexts = [
'languages:language_interface',
'theme',
'route',
'timezone',
'url.path.parent',
'url.query_args:_wrapper_format',
'url.site',
'user.roles',
'url.path.is_front',
// These two cache contexts are added by BigPipe.
'cookies:big_pipe_nojs',
'session.exists',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.