ContentDataProcessor
readonly class \
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
- 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 $configuration, array $variables) : array
Parameters
- $cObject : ContentObjectRenderer
- $configuration : array
-
Configuration array
- $variables : array
-
the variables to be processed
Tags
Return values
array —the processed data and variables as key/value store