FileResourceTestBase::$patchProtectedFieldNames

Same name in other branches
  1. 8.9.x core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php \Drupal\Tests\file\Functional\Rest\FileResourceTestBase::patchProtectedFieldNames
  2. 10 core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php \Drupal\Tests\file\Functional\Rest\FileResourceTestBase::patchProtectedFieldNames
  3. 11.x core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php \Drupal\Tests\file\Functional\Rest\FileResourceTestBase::patchProtectedFieldNames

Type: patchProtectedFieldNames

Overrides EntityResourceTestBase::$patchProtectedFieldNames

File

core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php, line 29

Class

FileResourceTestBase

Namespace

Drupal\Tests\file\Functional\Rest

Code

protected static $patchProtectedFieldNames = [
    'uri' => NULL,
    'filemime' => NULL,
    'filesize' => NULL,
    'status' => NULL,
    'changed' => NULL,
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.