$page->childrenAndDrafts()
Returns all published and draft children at the same time
$page->childrenAndDrafts(): Kirby\Cms\Pages
Return type
This method modifies the existing $page
object it is applied to and returns it again.
Returns all published and draft children at the same time
$page->childrenAndDrafts(): Kirby\Cms\Pages
This method modifies the existing $page
object it is applied to and returns it again.