CommentTypeTest::$permissions

Same name in other branches
  1. 9 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::permissions
  2. 10 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::permissions
  3. 11.x core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::permissions

Permissions to grant admin user.

Type: array

File

core/modules/comment/tests/src/Functional/CommentTypeTest.php, line 37

Class

CommentTypeTest
Ensures that comment type functions work correctly.

Namespace

Drupal\Tests\comment\Functional

Code

protected $permissions = [
    'administer comments',
    'administer comment fields',
    'administer comment types',
];

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