Skip to content

Kirby 4.4.1

$block->id()

Returns the unique item id (UUID v4)

$block->id(): string

Return type

string

Parent class

Kirby\Cms\Block inherited from Kirby\Cms\Item