CommentFieldAccessTest::$modules

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

Modules to install.

Type: array

Overrides EntityKernelTestBase::$modules

File

core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php, line 34

Class

CommentFieldAccessTest
Tests comment field level access.

Namespace

Drupal\Tests\comment\Kernel

Code

protected static $modules = [
    'comment',
    'entity_test',
    'user',
];

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