protected static property UserResourceTestBase::$patchProtectedFieldNames in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php \Drupal\Tests\user\Functional\Rest\UserResourceTestBase::patchProtectedFieldNames
- 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
Namespace
Drupal\Tests\user\Functional\RestCode
protected static $patchProtectedFieldNames = [
'changed' => NULL,
];