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