protected property ShortcutTranslationUITest::$defaultCacheContexts in Drupal 9
Same name and namespace in other branches
- 8 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::defaultCacheContexts
- 10 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::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/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php, line 20
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\Tests\shortcut\FunctionalCode
protected $defaultCacheContexts = [
'languages:language_interface',
'session',
'theme',
'user',
'url.path',
'url.query_args',
'url.site',
];