I know how to set a custom template for a field in SonataAdminBundle, for example:
->add('parent', null, null, 'template' => 'NS:Admin/CRUD:show_entity.html.twig'))
But, how can I pass a parameter to use in that template?
Thank you