protected static property ProductVariationResourceTest::$patchProtectedFieldNames in Commerce Core 8.2
The fields that are protected against modification during PATCH requests.
Type: string[]
Overrides ResourceTestBase::$patchProtectedFieldNames
File
- modules/
product/ tests/ src/ Functional/ Jsonapi/ ProductVariationResourceTest.php, line 67
Class
- ProductVariationResourceTest
- JSON:API resource test for variations.
Namespace
Drupal\Tests\commerce_product\Functional\JsonapiCode
protected static $patchProtectedFieldNames = [
'changed' => NULL,
];