$content->setParent()
Set the parent model
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 →