FieldGeneratorInterface

interface \TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorInterface

Interface for field value generators

Table of Contents

Methods

generate()  : string|int|array|null
Returns the generated value to be inserted into DB for this field
match()  : bool
Return true if this FieldGenerator matches

Methods

generate()

Returns the generated value to be inserted into DB for this field

public generate(array $data) : string|int|array|null

Parameters

$data : array

Return values

string|int|array|null

match()

Return true if this FieldGenerator matches

public match(array $data) : bool

Parameters

$data : array

See RecordData generate() for details on this array

Return values

bool
On this page