$tab->toViewProps()
Converts the tab to a plain array with all columns and fields.
$tab->toViewProps(Fields|null $fields = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $fields | Kirby\Form\Fieldsornull |
null
|
Return type
array