You are here

protected property NodeFieldAccessTest::$readOnlyFields in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php \Drupal\Tests\node\Kernel\NodeFieldAccessTest::readOnlyFields
  2. 10 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 42

Class

NodeFieldAccessTest
Tests node field level access.

Namespace

Drupal\Tests\node\Kernel

Code

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