NodeFieldAccessTest::$administrativeFields
Same name in other branches
- 9 core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php \Drupal\Tests\node\Kernel\NodeFieldAccessTest::administrativeFields
- 8.9.x core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php \Drupal\Tests\node\Kernel\NodeFieldAccessTest::administrativeFields
- 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 28
Class
- NodeFieldAccessTest
- Tests node field level access.
Namespace
Drupal\Tests\node\KernelCode
protected $administrativeFields = [
'status',
'promote',
'sticky',
'created',
'uid',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.