Skip to content

Kirby 6.0.0

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

Parent class

Kirby\Panel\Controller\Dialog\PageCreateDialogController