You are here

protected static property PathAliasResourceTestBase::$patchProtectedFieldNames in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::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/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php, line 27

Class

PathAliasResourceTestBase
Base class for path_alias EntityResource tests.

Namespace

Drupal\Tests\path_alias\Functional\Rest

Code

protected static $patchProtectedFieldNames = [];