Skip to content

Kirby 4.5.0

SiteBlueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\SiteBlueprint|null

Parent class

Kirby\Cms\SiteBlueprint inherited from Kirby\Cms\Blueprint