/** * @param CMSBlock $block */ public function setData(CMSBlock $block) { $this->setDataInternal($block->getConfig()); }