$pages->drafts()
Fetch all drafts for all pages in the collection
$pages->drafts(): Kirby\Cms\Pages
Return type
Kirby\Cms\Pages<TPage>
This method modifies the existing $pages object it is applied to and returns it again.
Fetch all drafts for all pages in the collection
$pages->drafts(): Kirby\Cms\Pages
Kirby\Cms\Pages<TPage>
This method modifies the existing $pages object it is applied to and returns it again.