FieldKernelTestBase::$modules

Same name in other branches
  1. 8.9.x core/modules/field/tests/src/Kernel/FieldKernelTestBase.php \Drupal\Tests\field\Kernel\FieldKernelTestBase::modules
  2. 10 core/modules/field/tests/src/Kernel/FieldKernelTestBase.php \Drupal\Tests\field\Kernel\FieldKernelTestBase::modules
  3. 11.x core/modules/field/tests/src/Kernel/FieldKernelTestBase.php \Drupal\Tests\field\Kernel\FieldKernelTestBase::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/field/tests/src/Kernel/FieldKernelTestBase.php, line 22

Class

FieldKernelTestBase
Parent class for Field API unit tests.

Namespace

Drupal\Tests\field\Kernel

Code

protected static $modules = [
    'user',
    'system',
    'field',
    'text',
    'entity_test',
    'field_test',
];

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