CommentFieldAccessTest::$contactFields
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::contactFields
- 8.9.x core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::contactFields
- 11.x core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php \Drupal\Tests\comment\Kernel\CommentFieldAccessTest::contactFields
These fields can only be edited by the admin or anonymous users if allowed.
Type: array
File
-
core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php, line 78
Class
- CommentFieldAccessTest
- Tests comment field level access.
Namespace
Drupal\Tests\comment\KernelCode
protected $contactFields = [
'name',
'mail',
'homepage',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.