You are here

protected static property WorkspaceResourceTestBase::$patchProtectedFieldNames in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php \Drupal\Tests\workspaces\Functional\EntityResource\WorkspaceResourceTestBase::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/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php, line 30

Class

WorkspaceResourceTestBase
Base class for workspace EntityResource tests.

Namespace

Drupal\Tests\workspaces\Functional\EntityResource

Code

protected static $patchProtectedFieldNames = [
  'changed' => NULL,
];