$haschildren->index()
Creates a flat child index
Parameters
Name | Type | Default | Description |
---|---|---|---|
$drafts | bool |
false |
If set to true , draft children are included |
Return type
Parent class
Kirby\Cms\HasChildren