CreateRecordDryRunResult

Read onlyYes
FinalYes

The outcome of CreateRecordDryRun. It wraps the CreateRecordResolution, which only knows the payload and the field map, with the obstacles outside of it, such as a disabled reaction or a missing page permission, and with the username and field labels the backend module displays.

Internal

This is a specific reaction implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Properties

$fieldLabels  : array<string|int, mixed>
$obstacles  : array<string|int, mixed>
$resolution  : CreateRecordResolution|null
$username  : string

Methods

__construct()  : mixed

Properties

$fieldLabels

public array<string|int, mixed> $fieldLabels

$obstacles

public array<string|int, mixed> $obstacles

Methods

__construct()

public __construct(CreateRecordResolution|null $resolution, array<int, DryRunObstacle> $obstacles, string $username, array<string, string> $fieldLabels) : mixed
Parameters
$resolution : CreateRecordResolution|null

null where there was no payload to resolve

$obstacles : array<int, DryRunObstacle>
$username : string

the impersonated user, empty where there is none

$fieldLabels : array<string, string>

the TCA label per field of the resolution

On this page

Search results