You are here

protected static property ContentEntityTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\ContentEntityTest::modules
  2. 9 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\ContentEntityTest::modules

Modules to enable.

The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.

Type: array

Overrides KernelTestBase::$modules

See also

\Drupal\Tests\KernelTestBase::enableModules()

\Drupal\Tests\KernelTestBase::bootKernel()

File

core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php, line 34

Class

ContentEntityTest
Tests the entity content source plugin.

Namespace

Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source

Code

protected static $modules = [
  'user',
  'migrate',
  'migrate_drupal',
  'system',
  'node',
  'taxonomy',
  'field',
  'file',
  'image',
  'media',
  'media_test_source',
  'text',
  'filter',
  'language',
  'content_translation',
];