You are here

protected static property ModuleTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/ModuleTest.php \Drupal\Tests\views\Kernel\ModuleTest::modules
  2. 10 core/modules/views/tests/src/Kernel/ModuleTest.php \Drupal\Tests\views\Kernel\ModuleTest::modules

Modules to enable.

Type: array

Overrides ViewsKernelTestBase::$modules

File

core/modules/views/tests/src/Kernel/ModuleTest.php, line 32

Class

ModuleTest
Tests basic functions from the Views module.

Namespace

Drupal\Tests\views\Kernel

Code

protected static $modules = [
  'field',
  'user',
  'block',
];