Skip to content

Kirby 4.5.0

$modelwithcontent->id()

Each model must return a unique id

$modelwithcontent->id(): string|null

Return type

string|null

Parent class

Kirby\Cms\ModelWithContent