Skip to content

Kirby 5.0.4

$pageTree->entry()

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

$pageTree->entry(Kirby\Cms\Site|Kirby\Cms\Page $entry, Kirby\Cms\Page|null $moving = null): array

Parameters

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

Return type

array

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

Parent class

Kirby\Panel\Controller\PageTree