MediaTranslationUITest::$defaultCacheContexts

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

Type: defaultCacheContexts

Overrides ContentTranslationUITestBase::$defaultCacheContexts

File

core/modules/media/tests/src/Functional/MediaTranslationUITest.php, line 25

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\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.