NodeHalJsonAnonTest::$patchProtectedFieldNames

Same name in other branches
  1. 9 core/modules/hal/tests/src/Functional/node/NodeHalJsonAnonTest.php \Drupal\Tests\hal\Functional\node\NodeHalJsonAnonTest::patchProtectedFieldNames

Type: patchProtectedFieldNames

Overrides NodeResourceTestBase::$patchProtectedFieldNames

File

core/modules/node/tests/src/Functional/Hal/NodeHalJsonAnonTest.php, line 41

Class

NodeHalJsonAnonTest
@group hal

Namespace

Drupal\Tests\node\Functional\Hal

Code

protected static $patchProtectedFieldNames = [
    'revision_timestamp' => 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'.",
    'revision_uid' => NULL,
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.