Skip to content

Kirby 4.5.0

FileBlueprint::factory()

Create a new blueprint for a model

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

Parameters

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

Return type

Kirby\Cms\FileBlueprint|null

Parent class

Kirby\Cms\FileBlueprint inherited from Kirby\Cms\Blueprint