You are here

protected property CommentFieldAccessTest::$administrativeFields in Drupal 10

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

Fields that only users with administer comments permissions can change.

Type: array

File

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

Class

CommentFieldAccessTest
Tests comment field level access.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $administrativeFields = [
  'uid',
  'status',
  'created',
];