CommentFieldAccessTest::$administrativeFields
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::administrativeFields
- 10 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::administrativeFields
- 11.x core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::administrativeFields
Fields that only users with administer comments permissions can change.
Type: array
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php, line 41
Class
- CommentFieldAccessTest
- Tests comment field level access.
Namespace
Drupal\Tests\comment\KernelCode
protected $administrativeFields = [
'uid',
'status',
'created',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.