AdminBundle/Controller/InlineEAVDataController.php
public function previewAction(Request $request, DataInterface $data)
    {
        return $this->editAction($request, $data, $data->getFamily());
    }
public function previewAction(Request $request, DataInterface $data)
    {
        return $this->editAction($request, $data, $data->getFamily());
    }
public function previewAction ( Request $ request , DataInterface $ data ) { return $ this -> editAction ( $ request , $ data , $ data -> getFamily ( ) ) ; }
Alias for edit action but with custom form options

@param Request       $request
@param DataInterface $data

@throws \Exception

@return Response
Alias for edit action but with custom form options