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