new PageCreateDialogController()
new PageCreateDialogController(Page|Site|null $parent = null, list|null $blueprints = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $parent | Kirby\Cms\PageorKirby\Cms\Siteornull |
null
|
|
| $blueprints | list<string>ornull |
null
|
Names of the blueprints for the new page, by default the ones of the parent |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
If no blueprints are given |