Skip to content

Kirby 3.9.8

Blueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\Blueprint|null

Parent class

Kirby\Cms\Blueprint