You are here

protected static property NodeResourceTestBase::$patchProtectedFieldNames in Drupal 10

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

File

core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php, line 26

Class

NodeResourceTestBase

Namespace

Drupal\Tests\node\Functional\Rest

Code

protected static $patchProtectedFieldNames = [
  'revision_timestamp' => NULL,
  'revision_uid' => NULL,
  'created' => "The 'administer nodes' permission is required.",
  'changed' => NULL,
  'promote' => "The 'administer nodes' permission is required.",
  'sticky' => "The 'administer nodes' permission is required.",
  'path' => "The following permissions are required: 'create url aliases' OR 'administer url aliases'.",
];