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