PageBlueprint::factory()
Create a new blueprint for a model
PageBlueprint::factory(string $name, string|null $fallback, Kirby\Cms\ModelWithContent $model): Kirby\Cms\PageBlueprint|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\PageBlueprint
ornull
Parent class
Kirby\Cms\PageBlueprint
inherited from Kirby\Cms\Blueprint