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
Post a Comment