/** * @see Object_Class_Data::getVersionPreview * @param float $data * @return float */ public function getVersionPreview($data) { if ($data instanceof \Pimcore\Model\Object\Data\IndexFieldSelection) { return $data->getTenant() . " " . $data->getField() . " " . $data->getPreSelect(); } return ""; }