You are here

protected static property ContactFormResourceTestBase::$patchProtectedFieldNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\ContactFormResourceTestBase::patchProtectedFieldNames
  2. 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

ContactFormResourceTestBase

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected static $patchProtectedFieldNames = [];