Skip to content

Kirby 6.0.0

$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

Parent class

Kirby\Blueprint\Tab