ModifyEditFileFormDataEvent
FinalYes
Listeners to this event are be able to modify the form data, used to render the edit file form in the filelist module.
Table of Contents
Methods
- __construct() : mixed
- getFile() : FileInterface
- getFormData() : array<string|int, mixed>
- getRequest() : ServerRequestInterface
- setFormData() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $formData, FileInterface $file, ServerRequestInterface $request) : mixed
Parameters
- $formData : array<string|int, mixed>
- $file : FileInterface
- $request : ServerRequestInterface
getFile()
public
getFile() : FileInterface
Return values
FileInterfacegetFormData()
public
getFormData() : array<string|int, mixed>
Return values
array<string|int, mixed>getRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacesetFormData()
public
setFormData(array<string|int, mixed> $formData) : void
Parameters
- $formData : array<string|int, mixed>