symfony - How to create a custom action not related to entity from sonata admin -


i need add action clear symfony2 cache in sonata admin used example when jms translations updated. know how create custom action not related entity in sonata admin , how execute clear cache command when admin click on corresponding custom link.

you may create action in straight-forward symfony way - create route, make common controller route. or call action in other way symfony offers.

sonata admin bundle extend application it's crud controller, can use. other controllers created in normal way working well.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -