public function __construct() { $params = ['source' => ['type' => 'orm', 'query' => ['select' => ['attachment'], 'form' => [['table' => 'OroAttachmentBundle:Attachment', 'alias' => 'attachment']]]]]; parent::__construct($params); }