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

getFormData()

public getFormData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRequest()

public getRequest() : ServerRequestInterface
Return values
ServerRequestInterface

setFormData()

public setFormData(array<string|int, mixed> $formData) : void
Parameters
$formData : array<string|int, mixed>

        
On this page

Search results