Skip to content

Kirby 6.0.0

$fieldMethods->toPage()

Returns a page object from a page id in the field

$fieldMethods->toPage(): Page|null

Return types

Kirby\Cms\Pageornull

Parent class

Kirby\Content\FieldMethods