protected static property MediaResourceTestBase::$patchProtectedFieldNames in Drupal 8
Same name and namespace in other branches
- 9 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 40
Class
Namespace
Drupal\Tests\media\Functional\RestCode
protected static $patchProtectedFieldNames = [
'changed' => NULL,
];