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