Skip to content

Kirby 5.0.4

$layout->toArray()

The result is being sent to the editor via the API in the panel

$layout->toArray(): array

Return type

array

This method modifies the existing $layout object it is applied to and returns it again.

Parent class

Kirby\Cms\Layout