private function getMappedSources($fieldType, $sources, $indexFrom, $indexTo)
{
$mappedSources = $sources;
if (is_array($sources)) {
$mappedSources = [];
foreach ($sources as $source) {
$mappedSources[] = $this->getSource($fieldType, $source, $indexFrom, $indexTo);
}
}
return $mappedSources;
}