You are here

protected property ContentTranslationUITestBase::$defaultCacheContexts in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php \Drupal\content_translation\Tests\ContentTranslationUITestBase::defaultCacheContexts

Default cache contexts expected on a non-translated entity.

Cache contexts will not be checked if this list is empty.

Type: string[]

File

core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php, line 55
Contains \Drupal\content_translation\Tests\ContentTranslationUITestBase.

Class

ContentTranslationUITestBase
Tests the Content Translation UI.

Namespace

Drupal\content_translation\Tests

Code

protected $defaultCacheContexts = [
  'languages:language_interface',
  'theme',
  'url.query_args:_wrapper_format',
  'user.permissions',
];