BlockContentTranslationUITest::$defaultCacheContexts

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::defaultCacheContexts
  2. 10 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::defaultCacheContexts
  3. 11.x core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::defaultCacheContexts

Type: defaultCacheContexts

Overrides ContentTranslationUITestBase::$defaultCacheContexts

File

core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php, line 36

Class

BlockContentTranslationUITest
Tests the block content translation UI.

Namespace

Drupal\Tests\block_content\Functional

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.