public function setCurrentLayoutNodeId($nid, $siteId)
    {
        if ($this->layoutNodeId) {
            throw new \LogicException("You can't change the current layout node ID.");
        }

        $this->layoutNodeId = $nid;
        $this->layoutSiteId = $siteId;
    }