Skip to content

Kirby 6.0.0

FileBlueprint::factory()

Create a new blueprint for a model

FileBlueprint::factory(ModelWithContent $model, string $name, string|null $fallback = null): FileBlueprint|null

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$namerequired string no default value
$fallback stringornull null

Return types

Kirby\Blueprint\FileBlueprintornull

Parent class

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