Skip to content

Kirby 5.0.2

$site->createDefaultContent()

Creates default content for the model, by using our Form class to generate the defaults, based on the model's blueprint setup.

$site->createDefaultContent(): array

Return type

array

Parent class

Kirby\Cms\Site inherited from Kirby\Cms\ModelWithContent