Skip to content

Kirby 4.5.0

$structure->key()

Returns the current key

$structure->key(): string|int|null

Return type

string|int|null

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Iterator