You are here

protected property NodeFieldAccessTest::$administrativeFields in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php \Drupal\Tests\node\Kernel\NodeFieldAccessTest::administrativeFields
  2. 10 core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php \Drupal\Tests\node\Kernel\NodeFieldAccessTest::administrativeFields

Fields that only users with administer nodes permissions can change.

Type: array

File

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

Class

NodeFieldAccessTest
Tests node field level access.

Namespace

Drupal\Tests\node\Kernel

Code

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