TcaSlug implements FormDataProviderInterface
Handles custom data for TCA Type=Slug
Table of Contents
Interfaces
- FormDataProviderInterface
- Interface must be implemented by form data provider classes.
Methods
- addData() : array<string|int, mixed>
- Resolve slug prefix items
- getPrefixForSite() : string
- Render the prefix for the input field.
Methods
addData()
Resolve slug prefix items
public
addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getPrefixForSite()
Render the prefix for the input field.
protected
getPrefixForSite(SiteInterface $site, int $languageId) : string
Parameters
- $site : SiteInterface
- $languageId : int