$haschildren->draft()
Searches for a draft child by ID
$haschildren->draft(string $path): Kirby\Cms\Page|null
Parameters
| Name | Type | Default |
|---|---|---|
| $path * | string |
– |
Return type
Kirby\Cms\Page|null
Parent class
Kirby\Cms\HasChildren
Searches for a draft child by ID
$haschildren->draft(string $path): Kirby\Cms\Page|null
| Name | Type | Default |
|---|---|---|
| $path * | string |
– |
Kirby\Cms\Page|null
Kirby\Cms\HasChildren