Skip to content

Kirby 4.1.2

$structure->first()

Returns the first element

$structure->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection