CustomFileControlsEvent

final class \TYPO3\CMS\Backend\Form\Event\CustomFileControlsEvent

Listeners to this Event will be able to add custom controls to a TCA type="file" field in FormEngine

Table of Contents

Methods

__construct()  : mixed
addControl()  : void
getControls()  : array
getDatabaseRow()  : array
getFieldConfig()  : array
getFieldName()  : string
getFormFieldIdentifier()  : string
getFormFieldName()  : string
getResultArray()  : array
getTableName()  : string
removeControl()  : bool
setControls()  : void
setResultArray()  : void
WARNING: Modifying the result array should be used with care. It mostly only exists to allow additional $resultArray['javaScriptModules'].

Methods

__construct()

public __construct(array $resultArray, string $tableName, string $fieldName, array $databaseRow, array $fieldConfig, string $formFieldIdentifier, string $formFieldName) : mixed

Parameters

$resultArray : array
$tableName : string
$fieldName : string
$databaseRow : array
$fieldConfig : array
$formFieldIdentifier : string
$formFieldName : string

addControl()

public addControl(string $control[, string $identifier = '' ]) : void

Parameters

$control : string
$identifier : string = ''

getControls()

public getControls() : array

Return values

array

getDatabaseRow()

public getDatabaseRow() : array

Return values

array

getFieldConfig()

public getFieldConfig() : array

Return values

array

getFieldName()

public getFieldName() : string

Return values

string

getFormFieldIdentifier()

public getFormFieldIdentifier() : string

Return values

string

getFormFieldName()

public getFormFieldName() : string

Return values

string

getResultArray()

public getResultArray() : array

Return values

array

getTableName()

public getTableName() : string

Return values

string

removeControl()

public removeControl(string $identifier) : bool

Parameters

$identifier : string

Return values

bool

setControls()

public setControls(array $controls) : void

Parameters

$controls : array

setResultArray()

WARNING: Modifying the result array should be used with care. It mostly only exists to allow additional $resultArray['javaScriptModules'].

public setResultArray(array $resultArray) : void

Parameters

$resultArray : array
On this page