I am trying to modify the SonataAdmin templates. I have an Image entity that has a path property. I created an ImageAdmin class and this is integrated into sonataAdmin. I would like to modify the admin-list-view to wrap the path in an img tag so that the image is actually displayed. Does anyone know how I can do this?
Thanks!
There are 2 ways to use your own templates.
In the config file:
and in the field definition file:
OR the 2nd way:
And then copy the code below to your template: