$content->setParent()
Set the parent model
$content->setParent(Kirby\Cms\ModelWithContent $parent): Kirby\Content\Content
Parameters
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\ModelWithContent |
– |
Return type
This method does not modify the existing $content
object but returns a new object with the changes applied. Learn more →