protected static property ShortcutResourceTestBase::$patchProtectedFieldNames in Drupal 8
Same name and namespace in other branches
- 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutResourceTestBase::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/ shortcut/ tests/ src/ Functional/ Rest/ ShortcutResourceTestBase.php, line 27
Class
- ShortcutResourceTestBase
- ResourceTestBase for Shortcut entity.
Namespace
Drupal\Tests\shortcut\Functional\RestCode
protected static $patchProtectedFieldNames = [];