UserKernelTestBase::$modules

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

Modules to enable.

Type: array

Overrides ViewsKernelTestBase::$modules

File

core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php, line 18

Class

UserKernelTestBase
Provides a common test base for user views tests.

Namespace

Drupal\Tests\user\Kernel\Views

Code

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

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