ContentDataProcessor

A class that contains methods that can be used to use the dataProcessing functionality

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
process()  : array<string|int, mixed>
Check for the availability of processors, defined in TypoScript, and use them for data processing

Methods

process()

Check for the availability of processors, defined in TypoScript, and use them for data processing

public process(ContentObjectRenderer $cObject, array<string|int, mixed> $configuration, array<string|int, mixed> $variables) : array<string|int, mixed>
Parameters
$cObject : ContentObjectRenderer
$configuration : array<string|int, mixed>

Configuration array

$variables : array<string|int, mixed>

the variables to be processed

Tags
throws
UnexpectedValueException

If a processor class does not exist

Return values
array<string|int, mixed>

the processed data and variables as key/value store


        
On this page

Search results