Skip to content

Kirby 3.8.4

$site->setSite()

Setter for the parent site object

$site->setSite(Kirby\Cms\Site $site = null): Kirby\Cms\Site

Parameters

Name Type Default
$site Kirby\Cms\Site null

Return type

Kirby\Cms\Site

This method modifies the existing $site object it is applied to and returns it again.

Parent class

Kirby\Cms\Site inherited from Kirby\Cms\Model