You are here

protected static property UserResourceTestBase::$patchProtectedFieldNames in Drupal 8

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

The fields that are protected against modification during PATCH requests.

Keys are field names, values are expected access denied reasons.

Type: string[]

Overrides EntityResourceTestBase::$patchProtectedFieldNames

File

core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php, line 28

Class

UserResourceTestBase

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected static $patchProtectedFieldNames = [
  'changed' => NULL,
];