$siteActions->createChild()
Creates a main page
$siteActions->createChild(array $props): Kirby\Cms\Page
Parameters
| Name | Type | Default |
|---|---|---|
| $propsrequired | array |
no default value |
Return type
This method modifies the existing $siteactions object it is applied to and returns it again.
Parent class
Kirby\Cms\SiteActions