Skip to content

Kirby 4.1.2

$blocks->key()

Returns the current key

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

Return type

string|int|null

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Iterator