protected property BlockContentTranslationUITest::$defaultCacheContexts in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::defaultCacheContexts
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/ block_content/ tests/ src/ Functional/ BlockContentTranslationUITest.php, line 38
Class
- BlockContentTranslationUITest
- Tests the block content translation UI.
Namespace
Drupal\Tests\block_content\FunctionalCode
protected $defaultCacheContexts = [
'languages:language_interface',
'session',
'theme',
'url.path',
'url.query_args',
'user.permissions',
'user.roles:authenticated',
];