ContentDataProcessor

class \TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor

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

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) : mixed

Parameters

$container : ContainerInterface

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

throws
UnexpectedValueException

If a processor class does not exist

Return values

array —

the processed data and variables as key/value store

On this page