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