Override list view twig template in SonataAdminBundle

0 Flares Twitter 0 Facebook 0 LinkedIn 0 0 Flares ×

There are two ways to override the list view template.

1. Admin Class

2. Service Setter Injection

As described in the docs.

 

Then take the original twig template and change the desired block e.g. list_header:

 

That’s it!

 

Backlinks:

 

Web Deviloper