TranslationTest::$modules

Modules to install.

The node module is required because the tests alter the node entity type.

Type: array

Overrides FieldKernelTestBase::$modules

File

core/modules/field/tests/src/Kernel/TranslationTest.php, line 27

Class

TranslationTest
Tests multilingual fields logic.

Namespace

Drupal\Tests\field\Kernel

Code

protected static $modules = [
  'language',
  'node',
];

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