Skip to content

Kirby 6.0.0

$pageTreeRequestController->entry()

Returns the properties to display the site or page as an entry in the page tree component

$pageTreeRequestController->entry() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$pageTreeRequestController->entry(Site|Page $entry): array

Parameters

Name Type Default
$entryrequired Kirby\Cms\SiteorKirby\Cms\Page no default value

Return type

array

Parent class

Kirby\Panel\Controller\Request\PageTreeRequestController