Skip to content

Kirby 5.1.2

$item->id()

Returns the unique item id (UUID v4)

$item->id(): string

Return type

string

This method modifies the existing $item object it is applied to and returns it again.

Parent class

Kirby\Cms\Item