Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 424 Bytes

brick.md

File metadata and controls

10 lines (8 loc) · 424 Bytes

When you override a brick, you sometimes have to use your own template.

To do this, you can use the ->setTemplate method and specify the path to your template

⚠️ The path you need to specify is only the folder where your index.html.twig file is located.

$indexBricks[] = ListConfig::new()
    ->addFields($this->getFields(CrudConfigInterface::INDEX))
    ->setTemplate('crudit/commande/list');