SchedulerTaskPersistenceValidator
Read onlyYes
FinalYes
DataHandler hook to validate incoming task parameters and execution_details when creating or updating a task.
This is an internal hook implementation and is not considered part of the Public TYPO3 API.
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
__construct()
public
__construct(TaskService $taskService, SchedulerTaskRepository $taskRepository, SchedulerModuleController $schedulerModuleController, FlashMessageService $flashMessageService) : mixed
Parameters
- $taskService : TaskService
- $taskRepository : SchedulerTaskRepository
- $schedulerModuleController : SchedulerModuleController
- $flashMessageService : FlashMessageService
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