EntityBundleFieldTest::$modules

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::modules
  2. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::modules
  3. 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php \Drupal\KernelTests\Core\Entity\EntityBundleFieldTest::modules

Modules to enable.

Type: array

Overrides EntityKernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php, line 17

Class

EntityBundleFieldTest
Tests adding a custom bundle field.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected static $modules = [
    'entity_schema_test',
    'entity_test_update',
];

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