ShortcutTranslationUITest::$defaultCacheContexts

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

{inheritdoc}

Type: defaultCacheContexts

Overrides ContentTranslationUITestBase::$defaultCacheContexts

File

core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php, line 20

Class

ShortcutTranslationUITest
Tests the shortcut translation UI.

Namespace

Drupal\Tests\shortcut\Functional

Code

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

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