UserNameFormatterTest::$modules

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

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php, line 22

Class

UserNameFormatterTest
Tests the user_name formatter.

Namespace

Drupal\Tests\user\Kernel\Field

Code

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

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