Skip to content

Kirby 3.9.8

SiteBlueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\SiteBlueprint|null

Parent class

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