Configuration
Below is a list of available configuration with default values:
"example" => [
"type" => "anomaly.field_type.slug",
"config" => [
"type" => "_",
"slugify" => null,
"lowercase" => true,
"min" => null,
"max" => null,
]
]
Configuration
Key | Example | Description |
---|---|---|
type |
|
The slug type. Valid options are |
slugify |
name |
The field slug to automatically slugify. |
lowercase |
false |
If enabled the slug will be forced to lowercase. |
min |
5 |
The minumum slug length allowed. |
max |
10 |
The maximum slug length allowed. |