You are here

protected static property CommentResourceTestBase::$patchProtectedFieldNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::patchProtectedFieldNames
  2. 9 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::patchProtectedFieldNames

File

core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php, line 31

Class

CommentResourceTestBase

Namespace

Drupal\Tests\comment\Functional\Rest

Code

protected static $patchProtectedFieldNames = [
  'status' => "The 'administer comments' permission is required.",
  'uid' => "The 'administer comments' permission is required.",
  'pid' => NULL,
  'entity_id' => NULL,
  'name' => "The 'administer comments' permission is required.",
  'homepage' => "The 'administer comments' permission is required.",
  'created' => "The 'administer comments' permission is required.",
  'changed' => NULL,
  'thread' => NULL,
  'entity_type' => NULL,
  'field_name' => NULL,
];