ContentDataProcessor
A class that contains methods that can be used to use the dataProcessing functionality
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
__construct()
public
__construct(ContainerInterface $container, DataProcessorRegistry $dataProcessorRegistry) : mixed
Parameters
- $container : ContainerInterface
- $dataProcessorRegistry : DataProcessorRegistry
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
Return values
array<string|int, mixed> —the processed data and variables as key/value store