AccessTestBase::$modules

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

Modules to enable.

Type: array

Overrides UserTestBase::$modules

File

core/modules/user/tests/src/Functional/Views/AccessTestBase.php, line 15

Class

AccessTestBase
A common test base class for the user access plugin tests.

Namespace

Drupal\Tests\user\Functional\Views

Code

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

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