我在SonataPageBundle中找不到有关blocks
选项的任何文档。示例模板:
2columns:
path: 'ApplicationSonataPageBundle::demo_2columns_layout.html.twig'
name: '2 columns layout'
inherits_containers: default
containers:
left_col:
name: Left column
blocks:
- sonata.media.block.media
- sonata.media.block.gallery
- sonata.media.block.feature_media
right_col:
name: Right column
blocks:
- sonata.news.block.recent_posts
- sonata.order.block.recent_orders
- sonata.product.block.recent_products
块的目的是什么,即左列容器中定义的sonata.media.block.media
?