You are here

protected static property UserRoleConditionTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::modules
  2. 9 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php, line 51

Class

UserRoleConditionTest
Tests the user role condition.

Namespace

Drupal\Tests\user\Kernel\Condition

Code

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