Skip to content

Kirby 6.0.0

PageBlueprint::factory()

Create a new blueprint for a model

PageBlueprint::factory(ModelWithContent $model, string $name, string|null $fallback = null): PageBlueprint|null

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$namerequired string no default value
$fallback stringornull null

Return types

Kirby\Blueprint\PageBlueprintornull

Parent class

Kirby\Blueprint\PageBlueprint inherited from Kirby\Blueprint\Blueprint