Skip to content

Kirby 4.2.0

Nest::create()

Nest::create($data, ?object $parent = null): Kirby\Cms\NestCollection|Kirby\Cms\NestObject|Kirby\Content\Field

Parameters

Name Type Default
$data * mixed
$parent object|null null

Return type

Kirby\Cms\NestCollection|Kirby\Cms\NestObject|Kirby\Content\Field

Parent class

Kirby\Cms\Nest