We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae3dfe commit 34c9d36Copy full SHA for 34c9d36
templates.rst
@@ -579,6 +579,8 @@ to define the template to render::
579
class ProductController extends AbstractController
580
{
581
#[Template('product/index.html.twig')]
582
+ // You can also add the "block" parameter to use the block inside the template
583
+ #[Template('product/index.html.twig', block: 'main')]
584
public function index(): array
585
586
// ...
0 commit comments