You are here

protected property MenuLinkContentTranslationUITest::$defaultCacheContexts in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentTranslationUITest::defaultCacheContexts
  2. 10 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentTranslationUITest::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/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php, line 18

Class

MenuLinkContentTranslationUITest
Tests the menu link content translation UI.

Namespace

Drupal\Tests\menu_link_content\Functional

Code

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