CreateSampleEntityTest::$modules

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php \Drupal\KernelTests\Core\Entity\CreateSampleEntityTest::modules
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php \Drupal\KernelTests\Core\Entity\CreateSampleEntityTest::modules
  3. 11.x core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php \Drupal\KernelTests\Core\Entity\CreateSampleEntityTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php, line 30

Class

CreateSampleEntityTest
Tests the ContentEntityStorageBase::createWithSampleValues method.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected static $modules = [
  'path_alias',
  'system',
  'field',
  'filter',
  'text',
  'file',
  'user',
  'node',
  'comment',
  'taxonomy',
];

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