SiteLanguageProcessor

class \TYPO3\CMS\Frontend\DataProcessing\SiteLanguageProcessor

Implements
DataProcessorInterface

Fetch the SiteLanguage object containing all information about the current language

Example TypoScript configuration:

10 = TYPO3\CMS\Frontend\DataProcessing\SiteLanguageProcessor 10 { as = siteLanguage }

where "as" names the variable containing the SiteLanguage properties

Table of Contents

Interfaces

DataProcessorInterface
Interface for data processor classes processing data from ContentObjectRenderer, used e.g. with the FLUIDTEMPLATE content object

Methods

process()  : array
Process content object data

Methods

process()

Process content object data

public process(ContentObjectRenderer $cObj, array $contentObjectConfiguration, array $processorConfiguration, array $processedData) : array

Parameters

$cObj : ContentObjectRenderer

The data of the content element or page

$contentObjectConfiguration : array

The configuration of Content Object

$processorConfiguration : array

The configuration of this processor

$processedData : array

Key/value store of processed data (e.g. to be passed to a Fluid View)

Return values

array —

the processed data as key/value store

On this page