Skip to content

Kirby 4.4.1

UserBlueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\UserBlueprint|null

Parent class

Kirby\Cms\UserBlueprint inherited from Kirby\Cms\Blueprint