Skip to content

Kirby 3.8.4

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
$model * Kirby\Cms\Model

Return type

Kirby\Cms\Blueprint|null

Parent class

Kirby\Cms\Blueprint