Skip to content

Kirby 4.5.0

$layouts->first()

Returns the first element

$layouts->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection