Configuration
Below is a list of available configuration with default values:
"example" => [
"type" => "anomaly.field_type.grid",
"config" => [
"related" => [],
"max" => null,
"min" => null,
"add_row" => "anomaly.field_type.grid::button.add_row",
]
]
Configuration
Key | Example | Description |
---|---|---|
related |
[ |
The related grid models. You can also define any models via API. |
max |
5 |
The maximum items allowed. |
min |
2 |
The minimum items allowed. |
add_row |
module::button.add_example |
The translatable text for the "add row" button. |