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