public function getForCsvExport($object, $params = [])
{
$data = $this->getDataFromObjectParam($object, $params);
if (is_array($data)) {
$paths = [];
foreach ($data as $eo) {
if ($eo instanceof Element\ElementInterface) {
$paths[] = Element\Service::getType($eo) . ":" . $eo->getRealFullPath();
}
}
return implode(",", $paths);
} else {
return null;
}
}