UserInstallTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::modules
  2. 10 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::modules
  3. 11.x core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/user/tests/src/Kernel/UserInstallTest.php, line 19

Class

UserInstallTest
Tests <a href="/api/drupal/core%21modules%21user%21user.install/function/user_install/8.9.x" title="Implements hook_install()." class="local">user_install</a>().

Namespace

Drupal\Tests\user\Kernel

Code

public static $modules = [
    'user',
];

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