$page->draft()
Searches for a draft child by ID
$page->draft(string $path): Page|null
Parameters
| Name | Type | Default |
|---|---|---|
| $pathrequired | string |
no default value |
Return types
Kirby\Cms\Pageornull
Searches for a draft child by ID
$page->draft(string $path): Page|null
| Name | Type | Default |
|---|---|---|
| $pathrequired | string |
no default value |
Kirby\Cms\Pageornull