SchedulerTaskPersistenceValidator

final readonly class \TYPO3\CMS\Scheduler\Hooks\SchedulerTaskPersistenceValidator

DataHandler hook to validate incoming task parameters and execution_details when creating or updating a task.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
processDatamap_preProcessFieldArray()  : void
If the task is not valid, this hook will create an error log message AND make the incomingFieldArray a non-array (e.g. false) to skip saving this record.

Methods

processDatamap_preProcessFieldArray()

If the task is not valid, this hook will create an error log message AND make the incomingFieldArray a non-array (e.g. false) to skip saving this record.

public processDatamap_preProcessFieldArray(mixed &$incomingFieldArray, mixed $table, mixed $id, DataHandler $dataHandler) : void

Parameters

$incomingFieldArray : mixed
$table : mixed
$id : mixed
$dataHandler : DataHandler
On this page