You are here

protected property CommentFieldAccessTest::$contactFields in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::contactFields

These fields can only be edited by the admin or anonymous users if allowed.

Type: array

File

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

Class

CommentFieldAccessTest
Tests comment field level access.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $contactFields = [
  'name',
  'mail',
  'homepage',
];