Skip to content

Kirby 4.5.0

Blueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\Blueprint|null

Parent class

Kirby\Cms\Blueprint