Skip to content

Kirby 6.0.0

$tabs->toArray()

Converts the collection to an array and also does that for every included tab

$tabs->toArray(Closure|null $map = null): array

Parameters

Name Type Default
$map Closureornull null

Return type

array

Parent class

Kirby\Blueprint\Tabs