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.
since TYPO3 v13, will be removed in TYPO3 v14.0.
Tags
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
__construct()
public
__construct() : mixed
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>