Skip to content

Kirby 4.1.1

PageBlueprint::factory()

Create a new blueprint for a model

PageBlueprint::factory(string $name, ?string $fallback, Kirby\Cms\ModelWithContent $model): Kirby\Cms\PageBlueprint|null

Parameters

Name Type Default
$name * string
$fallback * string|null
$model * Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\PageBlueprint|null

Parent class

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