$site->setPage()
Sets the current page object
Parameters
Name | Type | Default |
---|---|---|
$page | Kirby\Cms\Page |
null |
Return type
This method modifies the existing $site
object it is applied to and returns it again.