Examples

Slug field

../../../_images/Slug1.png
'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' => '',
        ],
    ],
]

Another slug field

../../../_images/Slug2.png
'columns' => [
    'slug_2' => [
        'exclude' => 1,
        'label' => 'slug_2',
        'config' => [
            'type' => 'slug',
            'size' => 50,
            'generatorOptions' => [
                'fields' => [
                    'input_1',
                ],
                'fieldSeparator' => '/',
                'prefixParentPageSlug' => true,
            ],
            'fallbackCharacter' => '-',
            'eval' => 'uniqueInSite',
            'default' => '',
        ],
    ],
]