NodeHalJsonAnonTest::$patchProtectedFieldNames
Same name in other branches
- 8.9.x core/modules/node/tests/src/Functional/Hal/NodeHalJsonAnonTest.php \Drupal\Tests\node\Functional\Hal\NodeHalJsonAnonTest::patchProtectedFieldNames
Type: patchProtectedFieldNames
Overrides NodeResourceTestBase::$patchProtectedFieldNames
File
-
core/
modules/ hal/ tests/ src/ Functional/ node/ NodeHalJsonAnonTest.php, line 42
Class
- NodeHalJsonAnonTest
- @group hal @group legacy
Namespace
Drupal\Tests\hal\Functional\nodeCode
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.