You are here

protected property BlockContentTranslationUITest::$defaultCacheContexts in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Tests

Code

protected $defaultCacheContexts = [
  'languages:language_interface',
  'session',
  'theme',
  'url.path',
  'url.query_args',
  'user.permissions',
  'user.roles:authenticated',
];