$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\Site orKirby\Cms\Page |
no default value |
$moving | Kirby\Cms\Page ornull |
null
|
Return type
array
This method modifies the existing $pagetree
object it is applied to and returns it again.