protected static property WorkspaceResourceTestBase::$patchProtectedFieldNames in Workspace 8.2
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
- tests/
src/ Functional/ EntityResource/ WorkspaceResourceTestBase.php, line 30
Class
- WorkspaceResourceTestBase
- Base class for workspace EntityResource tests.
Namespace
Drupal\Tests\workspace\Functional\EntityResourceCode
protected static $patchProtectedFieldNames = [
'changed',
];