SlugEnricher

New records that are capable of handling slugs (TCA type 'slug'), always require the field value to be set in order to run through the validation process to create a new slug. Fields having `null` as value are ignored and can be used to by-pass implicit slug initialization.

Deprecated

since TYPO3 v13, will be removed in TYPO3 v14.0.

Tags
see
DataHandler::fillInFieldArray()
see
DataHandler::checkValueForSlug()

Table of Contents

Properties

$slugFieldNamesPerTable  : array<string|int, mixed>

Methods

__construct()  : mixed
enrichDataMap()  : array<string|int, mixed>
resolveSlugFieldNames()  : array<string|int, string>
enrichUndefinedSlugFieldNames()  : array<string|int, mixed>

Properties

$slugFieldNamesPerTable

protected array<string|int, mixed> $slugFieldNamesPerTable = []

Methods

enrichDataMap()

public enrichDataMap(array<string|int, mixed> $dataMap) : array<string|int, mixed>
Parameters
$dataMap : array<string|int, mixed>
Return values
array<string|int, mixed>

resolveSlugFieldNames()

public resolveSlugFieldNames(string $tableName) : array<string|int, string>
Parameters
$tableName : string
Return values
array<string|int, string>

enrichUndefinedSlugFieldNames()

protected enrichUndefinedSlugFieldNames(array<string|int, mixed> $slugFieldNames, array<string|int, mixed> $fieldValues) : array<string|int, mixed>
Parameters
$slugFieldNames : array<string|int, mixed>
$fieldValues : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results