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