Skip to content

Kirby 5.0.4

PageBlueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return types

Kirby\Cms\PageBlueprintornull

Parent class

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