简体   繁体   中英

Provide a parameter for a custom template in SonataAdmin fields

I know how to set a custom template for a field in SonataAdminBundle. The following topic answer a question about that:

Symfony SonataAdmin Templates

But, how can I pass a parameter to use in that template?

您需要覆盖默认控制器和/或可能覆盖默认表单或捆绑软件的任何部分

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM