FileUploadResource::$deprecatedProperties

Type: deprecatedProperties

File

core/modules/file/src/Plugin/rest/resource/FileUploadResource.php, line 104

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

protected array $deprecatedProperties = [
    'currentUser' => 'current_user',
    'mimeTypeGuesser' => 'mime_type.guesser',
    'token' => 'token',
    'lock' => 'lock',
    'eventDispatcher' => 'event_dispatcher',
];

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