$page->parentId()
Returns the parent id, if a parent exists
$page->parentId(): string|nullReturn types
stringornull
This method modifies the existing $page object it is applied to and returns it again.
Returns the parent id, if a parent exists
$page->parentId(): string|nullstringornull
This method modifies the existing $page object it is applied to and returns it again.