protected static property FileTest::$patchProtectedFieldNames in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Functional/FileTest.php \Drupal\Tests\jsonapi\Functional\FileTest::patchProtectedFieldNames
The fields that are protected against modification during PATCH requests.
Type: string[]
Overrides ResourceTestBase::$patchProtectedFieldNames
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ FileTest.php, line 53
Class
- FileTest
- JSON:API integration test for the "File" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected static $patchProtectedFieldNames = [
'uri' => NULL,
'filemime' => NULL,
'filesize' => NULL,
'status' => NULL,
'changed' => NULL,
];