protected function deepCopyBlockTranslation(BlockTranslation $translation, Block $parent) { $copy = new BlockTranslation(); $copy->setLocale($translation->getLocale()); $copy->setObject($parent); $copy->setEnabled($translation->getEnabled()); $copy->setSettings($translation->getSettings()); return $copy; }