$viewport->
setElementId((int) $rawViewportData['__emotionElementViewport_element_id'
]);
$viewport->
setAlias($rawViewportData['__emotionElementViewport_alias'
]);
$viewport->
setStartRow((int) $rawViewportData['__emotionElementViewport_start_row'
]);
$viewport->
setStartCol((int) $rawViewportData['__emotionElementViewport_start_col'
]);
$viewport->
setEndCol((int) $rawViewportData['__emotionElementViewport_end_col'
]);
$viewport->
setEndRow((int) $rawViewportData['__emotionElementViewport_end_row'
]);
$viewport->
setVisible((bool) $rawViewportData['__emotionElementViewport_visible'
]);
$elementViewports[] =
$viewport;
} $element->
setViewports($elementViewports);
} /**
* @return array
*/
private function assignConfigTranslation(array
$config) { if (\
count($config)) { $translation =
$this->
getTranslation(reset($config), '__emotionElementValue',
[], null, false
);
foreach ($config as &
$configItem) {