FieldTestBase::$modules

Same name in this branch
  1. 8.9.x core/modules/field/tests/src/Functional/Views/FieldTestBase.php \Drupal\Tests\field\Functional\Views\FieldTestBase::modules
Same name in other branches
  1. 9 core/modules/field/tests/src/Functional/Views/FieldTestBase.php \Drupal\Tests\field\Functional\Views\FieldTestBase::modules
  2. 10 core/modules/field/tests/src/Functional/Views/FieldTestBase.php \Drupal\Tests\field\Functional\Views\FieldTestBase::modules
  3. 11.x core/modules/field/tests/src/Functional/Views/FieldTestBase.php \Drupal\Tests\field\Functional\Views\FieldTestBase::modules

Modules to enable.

Type: array

Overrides ViewTestBase::$modules

File

core/modules/field/src/Tests/Views/FieldTestBase.php, line 35

Class

FieldTestBase
Provides some helper methods for testing fieldapi integration into views.

Namespace

Drupal\field\Tests\Views

Code

public static $modules = [
    'node',
    'field_test_views',
];

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