SilverStripe\Subsites\State\SubsiteState::setSubsiteId
Set the current subsite ID, and track the first subsite ID set as the "original". This is used to check whether the ID has been changed through a request.
Signature
public function setSubsiteId(int
$id )
Parameters
$id
— int
Returns
- $this