You are here

protected static property EntityTestBundleResourceTestBase::$patchProtectedFieldNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase::patchProtectedFieldNames
  2. 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase::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/EntityTestBundleResourceTestBase.php, line 23

Class

EntityTestBundleResourceTestBase

Namespace

Drupal\Tests\entity_test\Functional\Rest

Code

protected static $patchProtectedFieldNames = [];