You are here

protected static property ContactFormResourceTestBase::$patchProtectedFieldNames in Drupal 8

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

Class

ContactFormResourceTestBase

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected static $patchProtectedFieldNames = [];