ItemProcessingService

Provides services around item processing

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Properties

$siteFinder  : SiteFinder

Methods

__construct()  : mixed
getProcessingItems()  : array<string|int, mixed>
Executes an itemsProcFunc if defined in TCA and returns the combined result (predefined + processed items)
getLanguageService()  : LanguageService
resolveSite()  : SiteInterface

Properties

Methods

getProcessingItems()

Executes an itemsProcFunc if defined in TCA and returns the combined result (predefined + processed items)

public getProcessingItems(string $table, int $realPid, string $field, array<string|int, mixed> $row, array<string|int, mixed> $tcaConfig, array<string|int, mixed> $selectedItems) : array<string|int, mixed>
Parameters
$table : string
$realPid : int

Record pid. This is the pid of the record.

$field : string
$row : array<string|int, mixed>
$tcaConfig : array<string|int, mixed>

The TCA configuration of $field

$selectedItems : array<string|int, mixed>

The items already defined in the TCA configuration

Return values
array<string|int, mixed>

The processed items (including the predefined items)


        
On this page

Search results