SlugDefaultCallable
in package
implements
IDefaultCallable
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
- IDefaultCallable
- Generates a value for a given field, if the value resulting from its form transformation is null.
Properties
- $slugSourceFieldId : string
Methods
- __construct() : mixed
- generateValue() : TReturn
Properties
$slugSourceFieldId
private
string
$slugSourceFieldId
Methods
__construct()
public
__construct(string $slugSourceFieldId) : mixed
Parameters
- $slugSourceFieldId : string
generateValue()
public
generateValue(array<string|int, mixed> $formData) : TReturn
Parameters
- $formData : array<string|int, mixed>
Attributes
- #[Override]