$content->setParent()
Set the parent model
$content->setParent(Kirby\Cms\Model $parent): Kirby\Cms\Content
Parameters
Name | Type | Default |
---|---|---|
$parent * | Kirby\Cms\Model |
– |
Return type
This method modifies the existing $content
object it is applied to and returns it again.