$pageTree->parents()
Returns the UUIDs/ids for all parents of the page
$pageTree->parents(string|null $page = null, bool $includeSite = false): array
Parameters
Name | Type | Default |
---|---|---|
$page | string ornull |
null
|
$includeSite | bool |
false
|
Return type
array
This method modifies the existing $pagetree
object it is applied to and returns it again.