Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
Examples
Slug field
[
'columns' => [
'slug_1' => [
'exclude' => 1,
'label' => 'slug_1',
'description' => 'field description',
'config' => [
'type' => 'slug',
'generatorOptions' => [
'fields' => [
'input_1',
'input_2',
],
'fieldSeparator' => '/',
'prefixParentPageSlug' => true,
'replacements' => [
'/' => '',
],
],
'appearance' => [
'prefix' => 'TYPO3\\CMS\\Styleguide\\UserFunctions\\FormEngine\\SlugPrefix->getPrefix',
],
'fallbackCharacter' => '-',
'eval' => 'uniqueInSite',
'default' => '',
],
],
],
]
Copied!
Another slug field
[
'columns' => [
'slug_2' => [
'exclude' => 1,
'label' => 'slug_2',
'config' => [
'type' => 'slug',
'size' => 50,
'generatorOptions' => [
'fields' => [
'input_1',
],
'fieldSeparator' => '/',
'prefixParentPageSlug' => true,
],
'fallbackCharacter' => '-',
'eval' => 'uniqueInSite',
'default' => '',
],
],
],
]
Copied!