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