CommentFieldAccessTest::$createOnlyFields
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::createOnlyFields
- 8.9.x core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::createOnlyFields
- 10 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::createOnlyFields
These fields can be edited on create only.
Type: array
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php, line 64
Class
- CommentFieldAccessTest
- Tests comment field level access.
Namespace
Drupal\Tests\comment\KernelCode
protected $createOnlyFields = [
'uuid',
'pid',
'comment_type',
'entity_id',
'entity_type',
'field_name',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.