public static property CommentViewAccessTest::$modules in Open Social 10.3.x
Same name and namespace in other branches
- 10.2.x modules/social_features/social_comment/tests/src/Kernel/CommentViewAccessTest.php \Drupal\Tests\social_comment\Kernel\CommentViewAccessTest::modules
Modules to enable.
Type: array
Overrides EntityKernelTestBase::$modules
File
- modules/
social_features/ social_comment/ tests/ src/ Kernel/ CommentViewAccessTest.php, line 22
Class
- CommentViewAccessTest
- Tests comment view level access.
Namespace
Drupal\Tests\social_comment\KernelCode
public static $modules = [
// For its `use_entity_access_api` setting.
'social_core',
// For the comment functionality.
'social_comment',
'comment',
// For checking access to a comment.
'entity',
// For the comment author and viewer.
'social_user',
'user',
// User creation in social_user requires a service in role_delegation.
"role_delegation",
// social_comment configures comments for nodes.
'node',
// The default comment config contains a body text field.
'field',
'text',
'filter',
];