CommentFieldAccessTest::$readOnlyFields

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

These fields are automatically managed and can not be changed by any user.

Type: array

File

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

Class

CommentFieldAccessTest
Tests comment field level access.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $readOnlyFields = [
    'changed',
    'hostname',
    'cid',
    'thread',
];

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