ValueFromReferenceArrayProcessor

class \TYPO3\CMS\Core\Configuration\Processor\Placeholder\ValueFromReferenceArrayProcessor

Implements
PlaceholderProcessorInterface

Returns the value for a placeholder as fetched from the referenceArray

Table of Contents

Interfaces

PlaceholderProcessorInterface

Methods

canProcess()  : bool
process()  : array|mixed|string
Returns the value for a placeholder as fetched from the referenceArray

Methods

canProcess()

public canProcess(string $placeholder, array $referenceArray) : bool

Parameters

$placeholder : string
$referenceArray : array

Return values

bool

process()

Returns the value for a placeholder as fetched from the referenceArray

public process(string $value, array $referenceArray) : array|mixed|string

Parameters

$value : string

the string to search for

$referenceArray : array

the main configuration array where to look up the data

Return values

array|mixed|string
On this page