NodeFieldAccessTest::$readOnlyFields

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

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

Type: array

File

core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php, line 41

Class

NodeFieldAccessTest
Tests node field level access.

Namespace

Drupal\Tests\node\Kernel

Code

protected $readOnlyFields = [
    'changed',
    'revision_uid',
    'revision_timestamp',
];

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