Newscoop\Service\Implementation\ThemeManagementServiceLocal::syncOutputSettings PHP Method

syncOutputSettings() protected method

..).
protected syncOutputSettings ( OutputSettings $to, OutputSettings $from )
$to Newscoop\Entity\OutputSettings The output setting to copy to, *(not null not empty).
$from Newscoop\Entity\OutputSettings The output setting to copy from, *(not null not empty).
    protected function syncOutputSettings(OutputSettings $to, OutputSettings $from)
    {
        $syncRsc = $this->getSyncResourceService();
        $to->setFrontPage($syncRsc->getSynchronized($from->getFrontPage()));
        $to->setSectionPage($syncRsc->getSynchronized($from->getSectionPage()));
        $to->setArticlePage($syncRsc->getSynchronized($from->getArticlePage()));
        $to->setErrorPage($syncRsc->getSynchronized($from->getErrorPage()));
    }