SiteBlueprint::factory()
Create a new blueprint for a model
SiteBlueprint::factory(ModelWithContent $model, string $name, string|null $fallback = null): SiteBlueprint|null
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
| $namerequired | string |
no default value |
| $fallback | stringornull |
null
|
Return types
Kirby\Blueprint\SiteBlueprintornull
Parent class
Kirby\Blueprint\SiteBlueprint
inherited from Kirby\Blueprint\Blueprint